wheresvic / mongoose-field-encryption

A simple symmetric encryption plugin for individual fields. Dependency free, only mongoose peer dependency.
MIT License
74 stars 32 forks source link

Added encrypt/decrypt options for additional flexibility #103

Closed adidaslevy closed 1 year ago

adidaslevy commented 1 year ago

Hey @wheresvic

I have updated my PR. Notice there is less content, and the content there is - much more ordered.

wheresvic commented 1 year ago

@adidaslevy Thanks for the updated PR but it still has 2 features mixed in together. You are also missing a notifyDecryptFails: true test case.

wheresvic commented 1 year ago

I think that I will split this up and merge the notifyDecryptFails option first. The second one we can do at another stage.

wheresvic commented 1 year ago

Cleanup PR to only include encryptNull option