crypt.generatekey
Generates 32 random bytes and returns them in Base64.
Uses the operating system random generator. The encoded key is intended for crypt.encrypt and crypt.decrypt.
crypt.generatekey(): string
DocumentationGenerates 32 random bytes and returns them in Base64.
Uses the operating system random generator. The encoded key is intended for crypt.encrypt and crypt.decrypt.
crypt.generatekey(): string