update encryptor.rb decrypt method