- Preparing search index...
- The search index is not available
bun-types
- createSecretKey(key: ArrayBufferView): "crypto".KeyObject
-
- createSecretKey(key: string, encoding: BufferEncoding): "crypto".KeyObject
-
Parameters
-
key: string
-
encoding: BufferEncoding
- createSecretKey(key: ArrayBufferView): "crypto".KeyObject
-
- createSecretKey(key: string, encoding: BufferEncoding): "crypto".KeyObject
-
Parameters
-
key: string
-
encoding: BufferEncoding
Creates and returns a new key object containing a secret key for symmetric encryption or
Hmac
.