RailsCasts Pro episodes are now free!

Learn more or hide this

yonineitor's Profile

GitHub User: yonineitor

Comments by

Avatar

hi!.

as I can decrypt the password?

I'm using the following:

ruby

<%= 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?