项目作者: swidelip

项目描述 :
aes-256 encryptor/decryptor on python🐍
高级语言: Python
项目地址: git://github.com/swidelip/rikma.git
创建时间: 2021-03-18T11:05:56Z
项目社区:https://github.com/swidelip/rikma

开源协议:GNU General Public License v3.0

下载


rikma

XChaCha20-Poly1305 & AES-256 (GCM) encryptor/decryptor on python🐍



Usage

  1. \
  2. .___ ` | , , _ , _ ___
  3. / \ | | / |' `|' `. / `
  4. | ' | |-< | | | | |
  5. / / / \_ / ' / `.__/|
  6. usage: rikma.py [-h, --help]
  7. [--xchachapoly] [--aes]
  8. [--encrypt] [--decrypt]
  9. [--type <file/folder>] [--path <object>] [--path-file <object>]
  10. [--password <pass>] [--show-password] [--gen-password <len>]
  11. [--dnp-gen-password] [--dnw-gen-password]
  12. [--log-file]
  13. [--fast-mode]
  14. [--random-names]
  15. [--no-colors]
  16. [--version]
  17. encrypt/decrypt files with xchacha20-poly1305 or aes-256 gcm cipher
  18. options:
  19. -h, --help show this help message and exit
  20. --xchachapoly use xchacha20-poly1305 cipher
  21. --aes use aes-256 gcm cipher
  22. --encrypt run in encrypt mode
  23. --decrypt run in decrypt mode
  24. --type <file/folder> type of object to encrypt/decrypt
  25. --path <object> path to object for encryption/decryption
  26. --path-file <object> load paths from file for encryption/decryption
  27. --password <pass> password for encryption/decryption
  28. --show-password dont ask for password validation, show password
  29. --gen-password <len> generate password with <len> length
  30. --dnp-gen-password dont print generated password
  31. --dnw-gen-password dont write generated password to file
  32. --log-file write stdout & stderr to generated file too, no colors
  33. --fast-mode lower cpu/memory cost factor, insecure
  34. --random-names rename file names to random string
  35. --no-colors dont init colorama
  36. --version display version and quit
  • Run in default mode
    1. $ python rikma.py
  • Use XChaCha20-Poly1305 cipher
    1. $ python rikma.py --xchachapoly
  • Use AES-256 GCM cipher
    1. $ python rikma.py --aes
  • Run in default mode without colors
    1. $ python rikma.py --no-colors
  • Encrypt folder with generated password 8 chars length
    1. $ python rikma.py --xchachapoly --encrypt --type folder --path .\folder --gen-password 8
  • Decrypt file with specified password
    1. $ python rikma.py --xchachapoly --decrypt --type file --path .\folder\file.txt.enc --password pass
  • Dont print generated password
    1. $ python rikma.py --gen-password 256 --dnp-gen-password
  • Dont write to file generated password
    1. $ python rikma.py --gen-password 256 --dnw-gen-password
  • Display version
    1. $ python rikma.py --version
  • Get help
    1. $ python rikma.py --help