sso

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesEncrypt

func AesEncrypt(key, plainText string) (string, error)

AesEncrypt 使用 AES/ECB/PKCS7Padding 模式加密文本

func GenLoginReq

func GenLoginReq(URL, user, passwd string) (*http.Request, error)

func PKCS7Padding

func PKCS7Padding(plainText []byte, blockSize int) []byte

PKCS7Padding 将明文填充到块大小的倍数

Types

This section is empty.

Jump to

Keyboard shortcuts

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