crypto.createSecretKey(key)

  • key {Buffer}
  • Returns: {KeyObject}

Creates and returns a new key object containing a secret key for symmetric encryption or Hmac.


最后修改 April 16, 2020: 加密 (a75e592)