function createSecretKey
Jump to headingcreateSecretKey(key: ArrayBufferView): KeyObjectCreates and returns a new key object containing a secret key for symmetric
encryption or Hmac.
Parameters Jump to heading
Jump to headingkey: ArrayBufferViewReturn Type Jump to heading
Jump to headingcreateSecretKey(key: string,encoding: BufferEncoding,): KeyObjectParameters Jump to heading
Jump to headingkey: stringJump to headingencoding: BufferEncoding