final

cipher.final รข string
Instance Public methods

Returns the remaining data held in the cipher object. Further calls to #update or #final will return garbage. This call should always be made as the last call of an encryption or decryption operation, after after having fed the entire plaintext or ciphertext to the Cipher instance.

If an authenticated cipher was used, a CipherError is raised if the tag could not be authenticated successfully. Only call this method after setting the authentication tag and passing the entire contents of the ciphertext into the cipher.

doc_ruby_on_rails
2015-04-24 22:26:30
Comments
Leave a Comment

Please login to continue.