createSecretKey
Creates and returns a new key object containing a secret key for symmetric encryption or Hmac.
Since
v11.6.0
Parameters
encoding
The string encoding when key is a string.
Creates and returns a new key object containing a secret key for symmetric encryption or Hmac.
v11.6.0
The string encoding when key is a string.