easypgp

    1.0.0 • Public • Published

    easypgp

    A simple package/CLI to make the process of PGP encryption smooth and easy.

    How to use

    To generate a pair of PGP keys, just do (assuming easypgp = require('easypgp')): easypgp.generateKeys([name], [email], [OPTIONAL: bits of RSA default: 512], [passphrase])

    To encrypt a message, do: easypgp.encryptMesasge([publicKey (if using generateKeys object, (obj).pubKey)], [message])

    To decrypt a message, do: easypgp.decryptMessage([privateKey (obj).privKey], [passphrase], [PGP message to decrypt])

    CLI coming soon.

    Install

    npm i easypgp

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.54 kB

    Total Files

    6

    Last publish

    Collaborators

    • dajuukes