Documentation ¶
Index ¶
- func GenHash(b []byte) []byte
- func GenHashObj(obj interface{}) []byte
- func GenSig(digest []byte, priv *rsa.PrivateKey) []byte
- func GenSigObj(obj interface{}, priv *rsa.PrivateKey) []byte
- func InitLog()
- func Ser(obj interface{}) []byte
- func VerifyHash(digest []byte, b []byte) bool
- func VerifySig(digest []byte, sig []byte, pub *rsa.PublicKey) bool
- func VerifySigObj(obj interface{}, sig []byte, pub *rsa.PublicKey) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenHashObj ¶
func GenHashObj(obj interface{}) []byte
func GenSigObj ¶
func GenSigObj(obj interface{}, priv *rsa.PrivateKey) []byte
func VerifyHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.