Giter Site home page Giter Site logo

riotkit-org / gpbkdf2 Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 12 KB

PBKDF2 key encoder for use in shell. Single, tiny binary. Written in Go.

License: GNU Lesser General Public License v3.0

Go 93.32% Makefile 6.68%
pbkdf2 pbkdf2-cli go aes aes-256 cbc cbc-mode aes-256-cbc crypto openssl

gpbkdf2's Introduction

gpbkdf2

Single-binary, tiny and fast shell application for encoding passwords using Password Based Key Deriviation Function 2 (PBKDF2).

PBKDF2 applies a pseudorandom function, such as hash-based message authentication code (HMAC), to the input password or
passphrase along with a salt value and repeats the process many times to produce a derived key, which can then be used as
a cryptographic key in subsequent operations. The added computational work makes password cracking much more difficult, 
and is known as key stretching.

Source: Wikipedia

NOTE: gpbkdf2 has stable API, it is safe to use it in the scripts.

Usage

./gpbkdf2 --passphrase=my-secret-passphrase --salt=my-secret-salt --digest-algorithm=sha512 --digest-rounds=10000 --length=128
b9f3da942744045a247ed9e8d2b5cac7987beee58441c56fae44871652534e0e2b78aaa2a1d199fbf460bcade837a0fd43a8d41774c0883726884a4955da196684a81342683f4984b25d3f0284d40b91809c9a2f79bba0cd406a8a48bba6a4c2c12a69036fe3d8dbcada2f9b3f8b19c7b1d4538d36daf75ff1b525ee85ce4606

Thanks to

This project strongly uses library crypto/pbkdf2 library.

Copyleft

Created by RiotKit Collective. Project was created by RiotKit as part of working on grassroot initiatives for social change, the anarchist movement.

gpbkdf2's People

Contributors

blackandred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

balcsida

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.