Crypto Server
    Preparing search index...

    Interface IBodyEncrypt

    Request body for the encryption endpoint.

    {
    "passphrase": "s3cret",
    "message": "Hello, world!",
    "publicKey": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
    }
    interface IBodyEncrypt {
        passphrase: string;
        message: string;
        publicKey: string;
        privateKey?: string;
    }
    Index
    passphrase: string

    Passphrase to unlock the signing private key (if provided).

    message: string

    Plaintext message to encrypt.

    publicKey: string

    Armored PGP public key of the recipient.

    privateKey?: string

    Optional armored PGP private key for sign-and-encrypt.