SymmetricKey.createclass method

Generates a new SymmetricKey using the randomBytes interface.

SymmetricKeycreatesymmetric-key

nametypedescription

symmetric-key

Promise for a SymmetricKey

Promise that resolves to an instance of SymmetricKey.