@nhtio/encryption
Provides a utility which allows for the encryption and decryption of data.
Classes
| Class | Description |
|---|---|
| Encryption | The encryption class allows encrypting and decrypting values using aes-256-cbc or aes-128-cbc algorithms. The encrypted value uses a unique iv for every encryption and this ensures semantic security (read more https://en.wikipedia.org/wiki/Semantic_security). |
| Secret | Define a Secret value that hides itself from the logs or the console statements. |
Variables
| Variable | Description |
|---|---|
| version | The current version of the package. |
References
errors
Renames and re-exports @nhtio/encryption/errors
types
Renames and re-exports @nhtio/encryption/types