method

reset

v1_9_3_392 - Show latest stable - Class: OpenSSL::Cipher
reset()
public

Fully resets the internal state of the Cipher. By using this, the same Cipher instance may be used several times for en- or decryption tasks.

Internally calls EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1).