Crypto Edge
    Preparing search index...

    Interface EdgeGenerateKeyOptions

    Options for key generation.

    import type { EdgeGenerateKeyOptions } from "@aspect/crypto-edge";

    const opts: EdgeGenerateKeyOptions = {
    algorithm: "AES-GCM",
    length: 256,
    };
    interface EdgeGenerateKeyOptions {
        algorithm: EdgeKeyAlgorithm;
        length?: 128 | 192 | 256;
    }
    Index
    algorithm: EdgeKeyAlgorithm

    Algorithm family.

    length?: 128 | 192 | 256

    Key length in bits (128, 192, or 256). Defaults to 256.