Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 413 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 413 Bytes

go-hash

A golang module to generate/compare hash from/with text.

Installation

go get github.com/ihumaunkabir/go-hash

Import

import "github.com/ihumaunkabir/go-hash"

Usage

Generate hash from plain text

generatedHash, err := hash.GenerateHashFromText("text")

Compare hash and plain text

err := hash.CompareHashAndText("hash", "text")

License

MIT