mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 02:23:59 +02:00
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:
@@ -39,7 +39,7 @@ function xxtea_mx($z, $y, $sum, $k) {
|
||||
|
||||
/** Cipher
|
||||
* @param string plain-text password
|
||||
* @param array 4 integers
|
||||
* @param string
|
||||
* @return string binary cipher
|
||||
*/
|
||||
function encrypt_string($str, $key) {
|
||||
@@ -72,7 +72,7 @@ function encrypt_string($str, $key) {
|
||||
|
||||
/** Decipher
|
||||
* @param string binary cipher
|
||||
* @param array 4 integers
|
||||
* @param string
|
||||
* @return string plain-text password
|
||||
*/
|
||||
function decrypt_string($str, $key) {
|
||||
|
Reference in New Issue
Block a user