Skip to content

Some example implementations of simple hashing concepts.

License

Notifications You must be signed in to change notification settings

zekroTutorials/hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Some example implementations of simple hashing concepts.

Resources

License

Stars

Watchers

Forks