Method: WSS4R::Security::Crypto::TripleDESSymmetricEncrypter#decrypt
- Defined in:
- lib/wss4r/security/crypto/cipher.rb
#decrypt(text) ⇒ Object
74 75 76 77 78 79 80 81 |
# File 'lib/wss4r/security/crypto/cipher.rb', line 74 def decrypt(text) @cipher.decrypt(@key, @iv) @cipher.key = @key @cipher.iv = @iv cipher = @cipher.update(text[8..-1]) cipher << @cipher.final() cipher end |