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