auth

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(passwd string, key string) (decrypteds string, err error)

解密密码

func Encryption

func Encryption(passwd string, key string) (encrypteds string)

加密密码

func GenUid

func GenUid() string

func GetToken

func GetToken(uid string, key string) (token string)

获取token

func ParseToken

func ParseToken(token string, key string) (claims jwtv5.MapClaims, err error)

解析token

Types

This section is empty.

Jump to

Keyboard shortcuts

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