Skip to content

Commit 2063c9b

Browse files
committed
README updated
1 parent d697fd8 commit 2063c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Directly querying the MongoDB will return the encrypted data.
5252

5353
### registerEncryptedString(mongoose, key)
5454

55-
Registers the new type `EncryptedString` in the `mongoose` instance's schema types. Encryption/decryption is done using the given `key`. After calling this funtion you can start using the new type via `mongoose.Schema.Types.EncryptedString` in your schemas.
55+
Registers the new type `EncryptedString` in the `mongoose` instance's schema types. Encryption/decryption is done with AES-256-CBC using the given `key`. After calling this funtion you can start using the new type via `mongoose.Schema.Types.EncryptedString` in your schemas.
5656

5757
#### mongoose
5858

0 commit comments

Comments
 (0)