ApiCoreFunctions
Function: createDeviceKey()
function createDeviceKey(dbName?): Promise<DeviceKey>;Defined in: packages/core/src/identity/device-key.ts:26
Makes a key for this device and remembers it. Non-extractable on purpose: a CryptoKey survives IndexedDB, and no code path can turn it back into bytes.
Parameters
| Parameter | Type | Default value |
|---|---|---|
dbName? | string | DB_NAME |
Returns
Promise<DeviceKey>