NodecryptocreateSecretKeyfunction createSecretKeyOverload 1#createSecretKey(key: ArrayBufferView): KeyObjectCreates and returns a new key object containing a secret key for symmetric encryption or Hmac. Parameters ##key: ArrayBufferView Return Type #KeyObject Overload 2#createSecretKey(key: string,encoding: BufferEncoding,): KeyObjectParameters ##key: string #encoding: BufferEncoding Return 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: ArrayBufferView Return Type #KeyObject Overload 2#createSecretKey(key: string,encoding: BufferEncoding,): KeyObjectParameters ##key: string #encoding: BufferEncoding Return Type #KeyObject