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.
encryptionKeys
passwords
Data to be encrypted.
encrypt
Encrypts a message using public keys, passwords or both at once. At least one of
encryptionKeysorpasswordsmust be specified. If signing keys are specified, those will be used to sign the message.