Documentation ¶
Overview ¶
Package blindsecp256k1v0 implements the Blind signature scheme explained at "An Efficient Blind Signature Scheme Based on the Elliptic Curve Discrete Logarithm Problem", by Morteza Nikooghadama & Ali Zakerolhosseini http://www.isecure-journal.com/article_39171_47f9ec605dd3918c2793565ec21fcd7a.pdf
LICENSE can be found at https://github.com/arnaucube/go-blindsecp256k1/blob/master/LICENSE
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestParameters ¶
NewRequestParameters returns a new random k (secret) & R (public) parameters
Types ¶
type PrivateKey ¶
PrivateKey represents the signer's private key
func NewPrivateKey ¶
func NewPrivateKey() (*PrivateKey, error)
NewPrivateKey returns a new random private key
func (*PrivateKey) BigInt ¶
func (sk *PrivateKey) BigInt() *big.Int
BigInt returns a *big.Int representation of the PrivateKey
func (*PrivateKey) BlindSign ¶
BlindSign performs the blind signature on the given mBlinded using SignerPrivateData values
func (*PrivateKey) Public ¶
func (sk *PrivateKey) Public() *blindsecp256k1.PublicKey
Public returns the PublicKey from the PrivateKey
type UserSecretData ¶
UserSecretData contains the secret values from the User (a, b, c) and the public F