danpal/encryptor — comment on commit c1b7e39538cb841a809053a7936b610e92a4bde0
File: lib/encryptor.rb line 57
By nahi:

In encryptor, :key is used as a secret key. In encryptor2, :key is used for a password for generating a secret key. PBKDF stands for Password-Based Key Derivation Function, so an input should be called 'password' and the output should be called 'key'.

encryptor2 does not handle :key as a key so it's not interoperable with other AES implementations...