Skip to content

@nhtio/encryption/types

Provides common and public types for the encryption module.

Classes

ClassDescription
Base64-
MessageVerifierMessage 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 AliasDescription
EncodeableDefines all the types which can be be serialized
EncodeablePrimitiveDefines the union of all serializable primitive types.
EncodeableTypedArrayDefines a union for all the serializable typed arrays.
EncryptionAlgorithmThe encryption algorithm to use
EncryptionOptionsConfig accepted by the encryption