@blockchaincommons/xid - v1.0.0-beta.3
    Preparing search index...

    Interface EncryptOptions

    The password-locked form of private keys or a generator.

    interface EncryptOptions {
        encrypt: string | Uint8Array<ArrayBufferLike>;
        method?: KeyDerivationMethod;
    }
    Index
    encrypt: string | Uint8Array<ArrayBufferLike>

    The password, as text or bytes.

    method?: KeyDerivationMethod

    The key derivation method; Argon2id unless given.