Crypto Lib
    Preparing search index...

    Function encrypt

    • Encrypts a message using public keys, passwords or both at once. At least one of encryptionKeys or passwords must be specified. If signing keys are specified, those will be used to sign the message.

      Parameters

      Returns Promise<string>

      • Encrypted message as an armored string.