Crypto Lib
    Preparing search index...

    Type Alias dataEncrypt

    Parameters for OpenPGP message encryption.

    type dataEncrypt = {
        passphrase: string;
        message: string;
        publicKey: string;
        privateKey?: string;
    }
    Index
    passphrase: string

    Passphrase to unlock the private key for signing during encryption.

    message: string

    Plaintext message to encrypt.

    publicKey: string

    Armored public key of the recipient.

    privateKey?: string

    Optional armored private key used to sign the encrypted message.