Closed BeanOfChaos closed 5 years ago
Following code returns empty bytes (i.e. b'') `from aes_encrypt import encrypt from aes_decrypt import decrypt from random_bytes import generate_bytes
key = generate_bytes(16) message = b'abcdef' decrypt(encrypt(message, key), key) `
Following code returns empty bytes (i.e. b'') `from aes_encrypt import encrypt from aes_decrypt import decrypt from random_bytes import generate_bytes
key = generate_bytes(16) message = b'abcdef' decrypt(encrypt(message, key), key) `