项目作者: caesarsalad

项目描述 :
Just for Fun CLI Cryptography Tool - File Encryption Signing and KEM
高级语言: Go
项目地址: git://github.com/caesarsalad/send-me-nudes.git
创建时间: 2019-11-25T17:11:22Z
项目社区:https://github.com/caesarsalad/send-me-nudes

开源协议:

下载


Send Me Nudes


Build Status

First of all It’s just for fun. So Send Me Nudes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

After icloud leaked nudes. We should not trust any cloud or message app (even he says that it has end-to-end encryption!)

mark

Dependencies

  • golang.org/x/crypto/nacl/box for encryption and decryption.
  • github.com/h2non/filetype after decryption detecting file type and adding extension

Usage

  1. -d enable decryption mode
  2. -e enable encryption mode
  3. -g generate key files
  4. -i string
  5. file to read (default "file")
  6. -o string
  7. output file name (default "out")
  8. -privatekey string
  9. Your Private Key File (default "client_private.key")
  10. -base64Pub string
  11. Base64 Public Key
  12. -pubkey string
  13. Public Key File (default "client_pub.key")

Example

Encryption

  1. ./send_me_nudes -e -i nude2.jpg -o newtest -pubkey secret_pub.key -privatekey client_private.key

Decryption

  1. ./send_me_nudes -d -i newtest.smn -base64Pub UEzL6lb/XNPiDQomUININjCtOkmM1g1RCLOvF1JPFTc= -privatekey secret_pri.key