Global

Members

crypto :exports|module.exports

Some functions for handling private environment variables.
Type:
  • exports | module.exports
Author:
Source:

Methods

decrypt(text, token)

Decrypts a string.
Parameters:
Name Type Description
text string string to decrypt
token string key to decrypt with
Source:

encrypt(text, token)

Encrypts a string.
Parameters:
Name Type Description
text string string to encrypt
token string key to encrypt with
Source:

generateAesKey()

Generates an AES key.
Source: