sign

package
v0.0.0-...-f661f07 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2013 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blind

func Blind(key *rsa.PublicKey, data []byte) (blindedData, unblinder []byte)

func BlindSign

func BlindSign(key *rsa.PrivateKey, data []byte) []byte

func CheckBlindSig

func CheckBlindSig(key *rsa.PublicKey, data, sig []byte) bool

func CheckSig

func CheckSig(key *rsa.PublicKey, data, sig []byte) bool

func Hash

func Hash(data []byte) []byte

func Sign

func Sign(key *rsa.PrivateKey, data []byte) (sig []byte, err error)

func Unblind

func Unblind(key *rsa.PublicKey, blindedSig, unblinder []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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