UNPKG

curve-p256

Version:

The secp256r1 (p-256) elliptic curve for ECDH & ECDSA

9 lines (8 loc) 292 B
/** * 填补某些运行环境 (例如微信小程序) 缺失的 Web Crypto API 的 Crypto 实例方法,包括: * - crypto.getRandomValues() * - crypto.randomUUID() * - Node.js crypto.randomBytes() */ export { crypto } from './polyfill'; export type { CryptoMethods } from './shim';