views:

24

answers:

0

Anyone knows how to implement XXTEA in MySQL?

For example - SELECT xxtea_encrypt('text here', 'key here');

possible implementation is by creating a FUNCTION in MySQL using CREATE FUNCTION statement, e.g.

CREATE FUNCTION xxtea_encrypt XXTEA Procedures here... RETURN encrypted string

Thanks & Best regards