Posts by João Cardoso • 19 points
1 post
-
1
votes0
answers90
viewsQ: How to create a KEY and IV for Crypto
Hi, I’m trying to make an AES-256-cbc encryption, and I’m having trouble creating a Key and an IV... I tried to use crypto.randomBytes(32) crypto.randomBytes(16) 32 to key, and 16 to IV. That way…