@nhtio/encryption/types
Provides common and public types for the encryption module.
Classes
| Class | Description |
|---|---|
| Base64 | - |
| MessageVerifier | Message verifier is similar to the encryption. However, the actual payload is not encrypted and just base64 encoded. This is helpful when you are not concerned about the confidentiality of the data, but just want to make sure that is not tampered after encoding. |
Type Aliases
| Type Alias | Description |
|---|---|
| Encodeable | Defines all the types which can be be serialized |
| EncodeablePrimitive | Defines the union of all serializable primitive types. |
| EncodeableTypedArray | Defines a union for all the serializable typed arrays. |
| EncryptionAlgorithm | The encryption algorithm to use |
| EncryptionOptions | Config accepted by the encryption |