Documentation ¶
Index ¶
- func DecodeHexRSAKeyString(privateKey string, pubKeystring string) ([]byte, []byte)
- func Encode(dst, src []byte) int
- func EncodeToString(src []byte) string
- func EncodedLen(n int) int
- func EncryptPassword(password string, salt string) []byte
- func GenerateRSAKeyString() (string, string)
- func IsSamePassword(passwordHash []byte, passwordPlain string) bool
- func ParsePubKeyFromString(pubKey string) *rsa.PublicKey
- func PubKeyToJWKKey(pub *rsa.PublicKey) jwk.Key
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHexRSAKeyString ¶
func EncodeToString ¶
func EncodedLen ¶
func EncryptPassword ¶
func GenerateRSAKeyString ¶
func IsSamePassword ¶
func ParsePubKeyFromString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.