Giter Site home page Giter Site logo

quyxishi / rikma Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 80 KB

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

License: GNU General Public License v3.0

Python 100.00%
windows python encrypt decrypt symmetric-encryption aes-256 linux encryption decryption aes-gcm xchacha20-poly1305

rikma's Introduction

rikma

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

Usage

         \                     
 .___  ` |   , , _ , _     ___ 
 /   \ | |  /  |' `|' `.  /   `
 |   ' | |-<   |   |   | |    |
 /     / /  \_ /   '   / `.__/|
 
 
usage: rikma.py [-h, --help]
                [--xchachapoly] [--aes]
                [--encrypt] [--decrypt]
                [--type <file/folder>] [--path <object>] [--path-file <object>]
                [--password <pass>] [--show-password] [--gen-password <len>]
                [--dnp-gen-password] [--dnw-gen-password]
                [--log-file]
                [--fast-mode]
                [--random-names]
                [--no-colors]
                [--version]

encrypt/decrypt files with xchacha20-poly1305 or aes-256 gcm cipher

options:
  -h, --help            show this help message and exit
  --xchachapoly         use xchacha20-poly1305 cipher
  --aes                 use aes-256 gcm cipher
  --encrypt             run in encrypt mode
  --decrypt             run in decrypt mode
  --type <file/folder>  type of object to encrypt/decrypt
  --path <object>       path to object for encryption/decryption
  --path-file <object>  load paths from file for encryption/decryption
  --password <pass>     password for encryption/decryption
  --show-password       dont ask for password validation, show password
  --gen-password <len>  generate password with <len> length
  --dnp-gen-password    dont print generated password
  --dnw-gen-password    dont write generated password to file
  --log-file            write stdout & stderr to generated file too, no colors
  --fast-mode           lower cpu/memory cost factor, insecure
  --random-names        rename file names to random string
  --no-colors           dont init colorama
  --version             display version and quit
  • Run in default mode
$ python rikma.py
  • Use XChaCha20-Poly1305 cipher
$ python rikma.py --xchachapoly
  • Use AES-256 GCM cipher
$ python rikma.py --aes
  • Run in default mode without colors
$ python rikma.py --no-colors
  • Encrypt folder with generated password 8 chars length
$ python rikma.py --xchachapoly --encrypt --type folder --path .\folder --gen-password 8
  • Decrypt file with specified password
$ python rikma.py --xchachapoly --decrypt --type file --path .\folder\file.txt.enc --password pass
  • Dont print generated password
$ python rikma.py --gen-password 256 --dnp-gen-password
  • Dont write to file generated password
$ python rikma.py --gen-password 256 --dnw-gen-password
  • Display version
$ python rikma.py --version
  • Get help
$ python rikma.py --help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.