NodecryptocreateSecretKeyfunction createSecretKey#createSecretKey(key: ArrayBufferView): KeyObjectCreates and returns a new key object containing a secret key for symmetric encryption or Hmac. Parameters ##key: ArrayBufferViewReturn Type #KeyObject#createSecretKey(key: string,encoding: BufferEncoding,): KeyObjectParameters ##key: string#encoding: BufferEncodingReturn Type #KeyObject
function createSecretKey#createSecretKey(key: ArrayBufferView): KeyObjectCreates and returns a new key object containing a secret key for symmetric encryption or Hmac. Parameters ##key: ArrayBufferViewReturn Type #KeyObject#createSecretKey(key: string,encoding: BufferEncoding,): KeyObjectParameters ##key: string#encoding: BufferEncodingReturn Type #KeyObject