crypto

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL