Documentation
¶
Overview ¶
Package protocolkey preserves the key and short-identifier encodings used by external protocols. These compatibility transforms are not token issuers.
Index ¶
- func Curve25519Genkey(stdEncoding bool, inputBase64 string) (public, private string, err error)
- func FixedUniqueString(s string, length int, alphabet string) (string, error)
- func GenerateCipher(serverKey string, length int) string
- func GenerateShortID(privateKey string) string
- func Md5Encode(value string, upper bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Curve25519Genkey ¶
func FixedUniqueString ¶
func GenerateCipher ¶
GenerateCipher 根据公钥生成固定长度密文
func GenerateShortID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.