Flowdock
method

auth_tag=

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: Cipher
auth_tag=(p1) public

Sets the authentication tag to verify the contents of the ciphertext. The tag must be set after calling Cipher#decrypt, Cipher#key= and Cipher#iv=, but before assigning the associated authenticated data using Cipher#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 Cipher#final.

Show source
Register or log in to add new notes.