method

reset

v2_1_10 - 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).