AKushWarrior / steel_crypt

A collection of high-level API's exposing PointyCastle to perform hashing and encrypting in popular/secure algorithms.
https://pub.dev/packages/steel_crypt
Mozilla Public License 2.0
40 stars 10 forks source link

Feature suggestion: encode AES key. #10

Closed AbdelbakiBoukerche closed 4 years ago

AbdelbakiBoukerche commented 4 years ago

I couldn't find a method to encode AES key to store it as a string. Is it possible to add this? I would like to be able to store AES key in my database.

AKushWarrior commented 4 years ago

What do you mean? CryptKey().genFortuna(32) returns a String. The AES algorithm takes a String as a key.

AbdelbakiBoukerche commented 4 years ago

Hi, thanks for you quick reply. i figured that out today. I was just feeling a bit stupid yesterday. Again, I'm really sorry.

Le ven. 20 déc. 2019 02:33, Aditya Kishore notifications@github.com a écrit :

What do you mean? CryptKey().genFortuna(32) returns a String. The AES algorithm takes a String as a key.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AKushWarrior/steel_crypt/issues/10?email_source=notifications&email_token=ALB4GWKZ5HCLA5ZVWXOFSJ3QZQOG7A5CNFSM4J447JJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLSYMI#issuecomment-567749681, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALB4GWNTXQTMLL3USD4R5LLQZQOG7ANCNFSM4J447JJA .

AKushWarrior commented 4 years ago

That's okay.