auth_tag=

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.

doc_ruby_on_rails
2015-04-24 22:04:16
Comments
Leave a Comment

Please login to continue.