Method: Sym::CipherHandler#update_cipher

Defined in:
lib/sym/cipher_handler.rb

#update_cipher(cipher, value) ⇒ Object



32
33
34
35
36
# File 'lib/sym/cipher_handler.rb', line 32

def update_cipher(cipher, value)
  data = cipher.update(value)
  data << cipher.final
  data
end