2

I'm building a desktop application intended to encrypt and decrypt file for users. I would like to let them choose the algorithm.

crypto.getCiphers() will return a list of supported algrithoms, but is there a way to know each algrithoms' Key and IV length? For example, aes256 will be 32 and 16 repectively.

user6456568
  • 549
  • 8
  • 21

0 Answers0