Skip to content
LogoLogo

Keystore.p256

Creates a pure-JS P-256 Keystore. The private key is held as hex in the handle, so at-rest protection is the storage adapter and signing runs in JavaScript.

Prefer Keystore.webCryptoP256 or a hardware keystore where a WebCrypto implementation is available; this exists chiefly as an adapter default for environments without one.

Usage

import { ,  } from 'accounts'
 
const  = .({
  : {
    : { : .() }, 
  },
})