search for: decoded_cipher_text

Displaying 1 result from an estimated 1 matches for "decoded_cipher_text".

2010 Nov 04
1
Calling a method directly from a test => no method error
...hod error" for decrypt. Can someone help me with the correct "address" for decrypt so I can call it directly. Here is the routine definition: module Encryptor module Routines def decrypt(cipher_text, key, opts) cipher = OpenSSL::Cipher::Cipher.new(algorithm(opts)) decoded_cipher_text = Base64.decode64(cipher_text) #cipher.decrypt(key, decoded_cipher_text.slice!(0..15)) cipher.decrypt cipher.pkcs5_keyivgen(key) # DW 11/3/10 Above two lines per deprecation warning and stackoverflow site # TODO Use a real Salt instead of Thoracic1 out = cipher.u...