Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 2.05 KB

README.md

File metadata and controls

71 lines (50 loc) · 2.05 KB

Password Hashing Concepts

This repository holds some example implementations of general concepts used in password hashing.

ATTENTION:
The shown exaples are not production ready implementations and shall not be used for any real password security implementation without further security fortification!

Index

The hasher implementations below implement the hasher interface.

type Hasher interface {
	Generate(password string) string
	Validate(password, hash string) bool
}

Try It Yourself

You can clone this repo and run it when you have the go compiler toolchain installed.

$ git clone https://github.com/zekroTutorials/hashing .
$ go run main.go

Otherwise, you can use the provided Dockerfile to build an image and run it.

$ git clone https://github.com/zekroTutorials/hashing .
$ docker build . -t hashing
$ docker run --name tmp hashing && docker rm tmp

Resources

This repository was created as demonstration for my (german) introduction video about password hashing.

Here you can find more resources (in english) about the topic:

Videos

Information about Hashing Concepts

Information about Argon2

Useful Online Hasing Tools


© 2020 Ringo Hofffmann (zekro Development).
Covered by the MIT License.