Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 323 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 323 Bytes

Argon2id stupid wrapper

Setup

go get -u github.com/AndreaNicola/argon2id

Import

import _ "github.com/AndreaNicola/argon2id"

Generate Hash

a2id := argon2id.NewArgon2ID()
hash, hashErr := a2id.Hash(plainText)

Verify Hash

res, verErr := a2id.Verify(plainText, hash)