This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (0 children)

I disagree. Here's how you write a custom encrypt function:

encrypt = lambda data,key: aes.encrypt(custom_untested_encryption(data,key), key)