I would like to encrypt fields similar to this example with mongoose: https://gist.github.com/kljensen/7505729
The code in the link above maps the field to the decrypt() custom function for get and encrypt() for set .
This leads to the fact that the value of plain text is encrypted during storage and decrypted during extraction.
How do I override getters and setters for a model property in Loopback?
loopbackjs strongloop
Coder1
source share