qhash

package module
v0.0.0-...-480a1bf Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 11 Imported by: 0

README

qhash

GitHub license GitHub go.mod Go version GitHub tag (latest SemVer) GoDoc Go Report Card

get hash quickly.


package

Get

go get github.com/EldersJavas/qhash

Usage

package main
import (
	"fmt"
	"github.com/EldersJavas/qhash"
)
func main()  {
	fmt.Println(qhash.MD5([]byte("Hello world!")))
}

cmd

Install

go install github.com/EldersJavas/qhash/cmd@latest

Usage

Quick Hash
https://github.com/EldersJavas/qhash

Usage:                                                                                                  
	qhash (-h) [crypto] [type]                       

Options:
	[crypto]:
		-MD4
		-MD5
		-SHA1      
		-SHA224      
		-SHA256      
		-SHA384      
		-SHA512      
		-MD5SHA1                     
		-RIPEMD160                   
		-SHA3_224               
		-SHA3_256               
		-SHA3_384               
		-SHA3_512               
		-SHA512_224  
		-SHA512_256  
		-BLAKE2s_256               
		-BLAKE2b_256               
		-BLAKE2b_384               
		-BLAKE2b_512               
	[type]:
		-f file1             Get file
		--s="string"         Get string
		-fs file1 file2...   Get files

Example:
	qhash -MD5 -f hello.go
	qhash -MD5 --s="Hello"

Documentation

Index

Constants

This section is empty.

Variables

Functions

func BLAKE2b_256

func BLAKE2b_256(UseByte []byte) (HsResult string)

func BLAKE2b_384

func BLAKE2b_384(UseByte []byte) (HsResult string)

func BLAKE2b_512

func BLAKE2b_512(UseByte []byte) (HsResult string)

func BLAKE2s_256

func BLAKE2s_256(UseByte []byte) (HsResult string)

func MD4

func MD4(UseByte []byte) (HsResult string)

func MD5

func MD5(UseByte []byte) (HsResult string)

func MD5SHA1

func MD5SHA1(UseByte []byte) (HsResult string)

func RIPEMD160

func RIPEMD160(UseByte []byte) (HsResult string)

func SHA1

func SHA1(UseByte []byte) (HsResult string)

func SHA224

func SHA224(UseByte []byte) (HsResult string)

func SHA256

func SHA256(UseByte []byte) (HsResult string)

func SHA384

func SHA384(UseByte []byte) (HsResult string)

func SHA3_224

func SHA3_224(UseByte []byte) (HsResult string)

func SHA3_256

func SHA3_256(UseByte []byte) (HsResult string)

func SHA3_384

func SHA3_384(UseByte []byte) (HsResult string)

func SHA3_512

func SHA3_512(UseByte []byte) (HsResult string)

func SHA512

func SHA512(UseByte []byte) (HsResult string)

func SHA512_224

func SHA512_224(UseByte []byte) (HsResult string)

func SHA512_256

func SHA512_256(UseByte []byte) (HsResult string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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