Use any string for key
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1293 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
920007a3b3
commit
faa7df8644
|
@ -39,7 +39,7 @@ function xxtea_mx($z, $y, $sum, $k) {
|
||||||
|
|
||||||
/** Cipher
|
/** Cipher
|
||||||
* @param string plain-text password
|
* @param string plain-text password
|
||||||
* @param array 4 integers
|
* @param string
|
||||||
* @return string binary cipher
|
* @return string binary cipher
|
||||||
*/
|
*/
|
||||||
function encrypt_string($str, $key) {
|
function encrypt_string($str, $key) {
|
||||||
|
@ -72,7 +72,7 @@ function encrypt_string($str, $key) {
|
||||||
|
|
||||||
/** Decipher
|
/** Decipher
|
||||||
* @param string binary cipher
|
* @param string binary cipher
|
||||||
* @param array 4 integers
|
* @param string
|
||||||
* @return string plain-text password
|
* @return string plain-text password
|
||||||
*/
|
*/
|
||||||
function decrypt_string($str, $key) {
|
function decrypt_string($str, $key) {
|
||||||
|
|
Loading…
Reference in a new issue