lib/symmetric/encryption.rb in symmetric-encryption-0.1.1 vs lib/symmetric/encryption.rb in symmetric-encryption-0.1.2
- old
+ new
@@ -53,10 +53,10 @@
# Hard coded symmetric_key?
if symmetric_key
self.key = symmetric_key
self.iv = symmetric_iv
else
- load_keys(config['symmetric_key_filename'], config['symmetric_iv_filename'], config['private_rsa_key'])
+ self.load_keys(config['symmetric_key_filename'], config['symmetric_iv_filename'], config['private_rsa_key'])
end
end
# Load the symmetric key to use for encrypting and decrypting data
# Call from environment.rb before calling encrypt or decrypt
\ No newline at end of file