Current Path : /home/usr.opt/mysql57/mysql-test/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/r/func_des_encrypt.result |
select des_encrypt('hello'); des_encrypt('hello') €Ö2nV“Ø} Warnings: Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead # # Bug #11643: des_encrypt() causes server to die # CREATE TABLE t1 (des VARBINARY(200) NOT NULL DEFAULT ''); INSERT INTO t1 VALUES ('1234'), ('12345'), ('123456'), ('1234567'); UPDATE t1 SET des=DES_ENCRYPT('1234'); Warnings: Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead SELECT LENGTH(des) FROM t1; LENGTH(des) 9 9 9 9 SELECT DES_DECRYPT(des) FROM t1; DES_DECRYPT(des) 1234 1234 1234 1234 Warnings: Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead SELECT LENGTH(DES_ENCRYPT('1234')), LENGTH(DES_ENCRYPT('12345')), LENGTH(DES_ENCRYPT('123456')), LENGTH(DES_ENCRYPT('1234567')); LENGTH(DES_ENCRYPT('1234')) LENGTH(DES_ENCRYPT('12345')) LENGTH(DES_ENCRYPT('123456')) LENGTH(DES_ENCRYPT('1234567')) 9 9 9 9 Warnings: Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead SELECT DES_DECRYPT(DES_ENCRYPT('1234')), DES_DECRYPT(DES_ENCRYPT('12345')), DES_DECRYPT(DES_ENCRYPT('123456')), DES_DECRYPT(DES_ENCRYPT('1234567')); DES_DECRYPT(DES_ENCRYPT('1234')) DES_DECRYPT(DES_ENCRYPT('12345')) DES_DECRYPT(DES_ENCRYPT('123456')) DES_DECRYPT(DES_ENCRYPT('1234567')) 1234 12345 123456 1234567 Warnings: Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead DROP TABLE t1; End of 5.0 tests