hash

package module
v0.0.0-...-eaac960 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT Imports: 2 Imported by: 0

README

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
generatedHash, err := hash.GenerateHashFromText("text")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashAndText

func CompareHashAndText(hashFromDB string, text string) (err error)

func GenerateHashFromText

func GenerateHashFromText(text string) (hash string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL