Because do not want to do in the Ajax post of the plaintext transmission, want to do JS to a JS object encrypted into a string or binary string transmission, but do not know how to encrypt, and this encrypted string needs to be decrypted on the PHP
Urgent: how to use php to encrypt and decrypt url parameters? because base64_encode () is generated too long and too simple, is there any other way? ------ solution ------------------ try js: for example: javaScript code involves three functions:
Urgent: how to use php to encrypt and decrypt url parameters? because base64_encode () is generated too long and too simple, is there any other way? ------ solution ------------------ try js: for example: javaScript code involves three functions:
How to use php to encrypt and decrypt url parameters? because base64_encode () is generated too long and is too simple, is there any other way?
Reply to discussion (solution)
You can try js:For example, JavaScript code involves three
Because I do not want to transmit plain text during ajaxpost, I want to encrypt a js object into a string or binary string for transmission in js, but I don't know how to encrypt it, in addition, the encrypted string needs to be decrypted on the php
The most reliable way for a Web site to encrypt data in case it is stolen is to encrypt it using a public key encryption algorithm, which is used throughout the transmission and can be implemented for HTTP sites that do not use HTTPS.
Function
Recently encountered the need to use JS to pass three values to another page, do not let the parameters directly displayed in the URL need to encrypt, how to handle?
Reply content:
Recently encountered the need to use JS to pass three values to
The security of PHP applications and PHP applications. The security of PHP applications. the security of PHP applications, whether in development, interview, or technical discussion, requires a deep understanding and understanding. Objective in this
Brief introduction
To provide Internet services, you must always maintain a sense of security when developing your code. Probably most PHP scripts don't care about security, largely because there are a lot of inexperienced programmers using the
Summary of PHP Development security issues. Summary of PHP Development security issues php gives developers great flexibility, but it also brings potential risks to security issues. we need to summarize previous problems in the near future, summary
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.