You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Random Crypto IV

Accepted answer
24
Views
4
Comments
edited Feb 26, 2020 8:07PM in Customer Portal 4 comments

Summary

Generate random IV using Crypto API

Content

Hello!
I need to generate a random IV using Crypto API. Documention mentions setting [Random] flag to true in Crypto/IV class will do so, but i am not sure at what point will it be generated. I tried to initialize the class and set the flag to true, but how do i get the random string.

Thanks

Version

CPHP 1.3

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!