cipher.auth_tag = string â string
Instance Public methods
Sets the authentication tag to verify the contents of the ciphertext. The tag must be set after calling #decrypt, #key= and #iv=, but before assigning the associated authenticated data using #auth_data= and of course, before decrypting any of the ciphertext. After all decryption is performed, the tag is verified automatically in the call to #final.
Please login to continue.