Encrypting
An implementation of cryptographic features such as data encoding, RSA key generation, and authentication tokens.
Available:
Methods:
this.encryptingProvider.generateKeys();const id = uuid();
const data = this.encryptingProvider.generateRefreshToken(id);const id = uuid();
const data = this.encryptingProvider.generateJwtToken(
{ email: 'email@mail.com' },
{ subject: id },
);Last updated