RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: yonineitor
hi!.
as I can decrypt the password?
I'm using the following:
<%= Sorcery::CryptoProviders::AES256.decrypt(user.crypted_password) =>
But the result is: Sorcery::CryptoProviders::AES256 expects a 32 bytes long key. Please use Sorcery::Model::Config.encryption_key to set it.
There is another way to decrypt the password?
hi!.
as I can decrypt the password?
I'm using the following:
<%= Sorcery::CryptoProviders::AES256.decrypt(user.crypted_password) =>
But the result is:
Sorcery::CryptoProviders::AES256 expects a 32 bytes long key. Please use Sorcery::Model::Config.encryption_key to set it.
There is another way to decrypt the password?