sha2

package
v0.0.0-...-830a97e Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sha2

type Sha2 struct{}

Sha2 implements hashing algorithm interface

func (Sha2) CheckHash

func (Sha2) CheckHash(pswd, hash string) bool

CheckHash compare matching with given string and hash

func (Sha2) DoHash

func (Sha2) DoHash(str string) (hash string)

DoHash hash given string with Sha2 algorithm

Jump to

Keyboard shortcuts

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