5 -- test vector from somewhere
6 SELECT encrypt('\x8000000000000000',
7 '\x010101010101010101010101010101010101010101010101',
10 select encrypt('', 'foo', '3des');
12 select encrypt('foo', '0123456789', '3des');
14 select encrypt('foo', '0123456789012345678901', '3des');
17 select encode(decrypt(encrypt('foo', '0123456', '3des'), '0123456', '3des'), 'escape');
20 select encrypt_iv('foo', '0123456', 'abcd', '3des');
21 select encode(decrypt_iv('\x50735067b073bb93', '0123456', 'abcd', '3des'), 'escape');
24 select encrypt('Lets try a longer message.', '0123456789012345678901', '3des');
25 select encode(decrypt(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), '0123456789012345678901', '3des'), 'escape');