Permalink
Browse files

bad aes example!

  • Loading branch information...
1 parent f5c82ad commit 26dfdbfdec8a976ac243440897150ee01a0073c7 @dekz dekz committed Apr 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -61,7 +61,7 @@ Encrypt and Decrypt with RSA
Encrypt a message with AES and a phrase
- cipher = dcrypt.cipher.createCipher('AES-256-cbc')
+ cipher = dcrypt.cipher.createCipher('AES-256-cbc', 'This is a key')
ciphertext = cipher.update('Hello there', 'utf8', 'hex')
ciphertext += cipher.final('hex')

0 comments on commit 26dfdbf

Please sign in to comment.