Documentation ¶
Index ¶
- func BytesToHexString(b []byte) string
- func Decode(src string) []byte
- func DecodeString(src string) string
- func Encode(src []byte) string
- func EncodeString(src string) string
- func GenRsaKeys(bits int) (privateKey, publicKey []byte, err error)
- func Hash(src []byte) []byte
- func HashString(str string) string
- func HexStringToBytes(s string) []byte
- type RsaClient
- type RsaServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHexString ¶
func DecodeString ¶
func EncodeString ¶
func GenRsaKeys ¶
func HashString ¶
func HexStringToBytes ¶
Types ¶
type RsaClient ¶
type RsaClient struct {
// contains filtered or unexported fields
}
func MustNewClient ¶
type RsaServer ¶
type RsaServer struct {
// contains filtered or unexported fields
}
func MustNewServer ¶
Click to show internal directories.
Click to hide internal directories.