@vvlad1973/crypto - v2.4.0
    Preparing search index...

    Interface CryptoOptions

    Interface representing the set of parameters to create an instance of the Crypto class. CryptoOptions

    interface CryptoOptions {
        password: string;
        salt: string;
        algorithm?: string;
        iterations?: number;
        keyLength?: number;
        iv?: number | Buffer;
    }
    Index

    Properties

    password: string

    The password used for key derivation.

    salt: string

    The salt used for key derivation.

    algorithm?: string

    The hash algorithm to use for key derivation.

    iterations?: number

    The number of iterations to use for key derivation.

    keyLength?: number

    The length of the derived key in bytes.

    iv?: number | Buffer

    The initialization vector for the AES encryption.