method

random_iv

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Cipher
random_iv() public

Generate a random IV with OpenSSL::Random.random_bytes and sets it to the cipher, and returns it.

You must call #encrypt or #decrypt before calling this method.

Show source
Register or log in to add new notes.