crypto

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package crypto useful crypto functions Reference: https://medium.com/@jcox250/password-hash-salt-using-golang-b041dc94cb72

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePwd

func ComparePwd(hashedPwd string, plainPwd string) bool

ComparePwd compare password

func EncryptPwd

func EncryptPwd(pwd string) string

EncryptPwd encrypt password

Types

This section is empty.

Jump to

Keyboard shortcuts

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