Skip to content

golang-common-packages/hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash

package main

import (
    "fmt"

    "github.com/golang-common-packages/hash"
)

func main() {
    client := &hash.Client{}

    fmt.Println(client.FNV32("Backend Golang"))
    fmt.Println(client.FNV32a("Backend Golang"))
    fmt.Println(client.FNV64("Backend Golang"))
    fmt.Println(client.FNV64a("Backend Golang"))
    fmt.Println(client.MD5("Backend Golang"))
    fmt.Println(client.SHA1("Backend Golang"))
    fmt.Println(client.SHA256("Backend Golang"))
    fmt.Println(client.SHA512("Backend Golang"))
}

About

This package help you use all hash methods easier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages