Documentation ¶ Index ¶ func ApplyExtraFormatting(payload string) string func Base64(payload []byte) string func RawSha256(payload []byte) ([]byte, error) func Sha256(payload string) ([]byte, error) func Sign(payload string, privateKey *rsa.PrivateKey) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ApplyExtraFormatting ¶ added in v1.0.4 func ApplyExtraFormatting(payload string) string func Base64 ¶ func Base64(payload []byte) string func RawSha256 ¶ func RawSha256(payload []byte) ([]byte, error) func Sha256 ¶ func Sha256(payload string) ([]byte, error) func Sign ¶ func Sign(payload string, privateKey *rsa.PrivateKey) ([]byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files crypto.go Click to show internal directories. Click to hide internal directories.