crypto

package
v0.0.0-...-3b47b55 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePasswords

func ComparePasswords(hashedPwd string, plainPwd []byte) bool

ComparePasswords compares hashed password and plain text

func HashAndSalt

func HashAndSalt(pwd []byte) string

HashAndSalt hashes the plain password

func MD5

func MD5(input string) string

MD5 returns the MD5 hash of a given string

func SHA512

func SHA512(input string) string

SHA512 returns the SHA512 hash of a given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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