GithubHelp home page GithubHelp logo

argon2-rs's Introduction

argon2-rs

Simple argon2 hashing program using crate rust-argon2.

Links

Usability mimicks usability of argon2 utility on Debian: https://manpages.debian.org/buster/argon2/argon2.1.en.html
Default values are defined by the rust-argon2 crate here: https://docs.sru-systems.com/rust-argon2/0.8.0/argon2/struct.Config.html

Usage

The program reads its input from standard input.

Example: echo "my input" -n | argon2-rs "randomsalt"
! Windows adds CR LF to the end of the echoed string !

Synopsis

argon2-rs salt [OPTIONS]

Option Parameters Description
-h Display tool usage
-i Use Argon2i (this is the default)
-d Use Argon2d instead of Argon2i
-id Use Argon2id instead of Argon2i
-t u_int_32 Sets the number of iterations to N (default = 3)
-m u_int_32 Sets the memory usage of 2^N KB (default = 12)
-k u_int_32 Sets the memory usage of N KB (default = 4096)
-p u_int_32 Sets parallelism to N threads (default = 1)
-l u_int_32 Sets hash output length to N bytes (default = 32)
-e Output only encoded hash
-r Output only the raw bytes of the hash
-v 10 or 13 Argon2 version (defaults to the most recent version, currently 13)

argon2-rs's People

Contributors

kattair avatar

Watchers

 avatar

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.