services

package
v0.0.0-...-7a34eef Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BcryptPassword

func BcryptPassword(password string) string

BcryptPassword bcrypt 算法 hash加 salt 加密密码

func IsCorrectPassword

func IsCorrectPassword(hashedPwd, plainPwd string) bool

IsCorrectPassword 判断未加密的密码和 hash 加盐密码是否一致

Types

This section is empty.

Jump to

Keyboard shortcuts

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