Documentation ¶
Overview ¶
Package xhmac provides some ulitities for hmac
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSignatureModified = fmt.Errorf("xhmac: signed value was modified")
ErrSignatureModified is an error object when the modified singed value is passed.
View Source
var ErrWrongSignatureFormat = fmt.Errorf("xhmac: wrong signature format")
ErrWrongSignatureFormat is an error object when receiving the wrong signature.
Functions ¶
This section is empty.
Types ¶
type Base64 ¶
type Base64 struct {
// contains filtered or unexported fields
}
Base64 is hmac utility to sign/unsign hmac with base64-encoding.
func (*Base64) SignString ¶
SignString is a string version of Sign
Click to show internal directories.
Click to hide internal directories.