@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Interface LockWithOptions

    Options for lockWith and lockSubjectWith.

    interface LockWithOptions {
        nonce?: Nonce;
        salt?: Salt;
    }

    Hierarchy

    • RngOptions
      • LockWithOptions
    Index
    nonce?: Nonce

    Use exactly this nonce for the locked content key (the EncryptedKey nonce); tests and vectors only. The subject's nonce is drawn from rng.

    salt?: Salt

    The salt the agent signs (16 random bytes unless given); tests and vectors only.