Options for key generation.
import type { EdgeGenerateKeyOptions } from "@aspect/crypto-edge";const opts: EdgeGenerateKeyOptions = { algorithm: "AES-GCM", length: 256,}; Copy
import type { EdgeGenerateKeyOptions } from "@aspect/crypto-edge";const opts: EdgeGenerateKeyOptions = { algorithm: "AES-GCM", length: 256,};
Algorithm family.
Optional
Key length in bits (128, 192, or 256). Defaults to 256.
Options for key generation.
Example