protocolkey

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package protocolkey preserves the key and short-identifier encodings used by external protocols. These compatibility transforms are not token issuers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Curve25519Genkey

func Curve25519Genkey(stdEncoding bool, inputBase64 string) (public, private string, err error)

func FixedUniqueString

func FixedUniqueString(s string, length int, alphabet string) (string, error)

func GenerateCipher

func GenerateCipher(serverKey string, length int) string

GenerateCipher 根据公钥生成固定长度密文

func GenerateShortID

func GenerateShortID(privateKey string) string

func Md5Encode

func Md5Encode(value string, upper bool) string

Md5Encode is retained for providers whose signing protocol requires MD5.

Types

This section is empty.

Jump to

Keyboard shortcuts

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