Example given not working
nizamsp opened this issue · 1 comments
nizamsp commented
Example given in the readme is not working. Am I doing something wrong?
import xxtea
text = "Hello World! 你好,**!"
key = "1234567890"
encrypt_data = xxtea.encrypt(text, key)
decrypt_data = xxtea.decrypt(encrypt_data, key)
print(text == decrypt_data);
ValueError: Need a 16-byte key.