Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 390 Bytes

API.md

File metadata and controls

13 lines (9 loc) · 390 Bytes

encrypt(key, plaintext) ⇒ string

Encrypt a message using the supplied key object.

Kind: global function
Returns: string - ASCII-armored encrypted text.

Param Type Description
key object Object from extract().
plaintext string The message to encrypt.