lib/mongoid/kms/mock.rb in mongoid-kms-0.0.18 vs lib/mongoid/kms/mock.rb in mongoid-kms-0.0.19
- old
+ new
@@ -6,10 +6,10 @@
module ClassMethods
def encrypt_field(object, field_name, value)
Rot13.rotate(value, 13)
end
- def decrypt_field(object, field_name, data)
+ def decrypt_field(object, field_name, data, encryption_context = nil)
Rot13.rotate(data, -13)
end
end
end
end