method

auth_tag_len=

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Cipher
auth_tag_len=(p1) public

Sets the length of the authentication tag to be generated or to be given for AEAD ciphers that requires it as in input parameter. Note that not all AEAD ciphers support this method.

In OCB mode, the length must be supplied both when encrypting and when decrypting, and must be before specifying an IV.

Show source
Register or log in to add new notes.