Crypto CLI
    Preparing search index...

    Function registerEncrypt

    • Register encrypt [file]: XChaCha20-Poly1305 with crypto-lib's secretbox (random nonce), printed as base64 of nonce, ciphertext and tag.

      Parameters

      • program: Command

        The root command.

      • ctx: RunContext

        The run context.

      Returns Command