method

auth_tag_len=

ruby latest stable - Class: OpenSSL::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.