Skip to content

niktheblak/passwordhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passwordhash

CLI for creating salted password hashes with bcrypt, scrypt and argon2.

Usage

Print a base64 encoded bcrypt hash of a given binary file

go run main.go bcrypt -e < data.bin

Print a base64 encoded argon2 hash of a given password string

go run main.go argon2 -e "myS3cr3tP4ssW0rd"

Print a base64 encoded argon2 hash of a given password string with a custom salt (in hexadecimal format)

go run main.go argon2 -e -s fa09cf432d5ae1 "myS3cr3tP4ssW0rd"

Write a binary argon2 hash of a given password string

go run main.go argon2 "myS3cr3tP4ssW0rd" > hash.bin

Write a binary argon2 hash of a given password string

go run main.go argon2 < data.bin > hash.bin

About

CLI for various cryptographic hashes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages