Xor-el / CryptoLib4Pascal

Crypto for Modern Object Pascal
MIT License
209 stars 63 forks source link

GE #22

Closed Mocren closed 3 years ago

Mocren commented 3 years ago

Topic: Get IV in AES256 CBC Decryption.

I´m working with your AES256 CBC Encryption and it´s working great. But i can´t find any option, to get the IV, with i can decrypt the encryptet text with other AES256 programs. How does the IV get calculated? Or how can i get the IV? Some help would be great!

Xor-el commented 3 years ago

Hi, you can pass the IV you want when using the TParametersWithIV class and retrieve it from the TParametersWithIV object using the GetIV method.

Xor-el commented 3 years ago

please reopen if your issue has not been resolved. thanks.