We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc02f69 commit fc2f0cfCopy full SHA for fc2f0cf
minpk/minpk.go
@@ -98,6 +98,10 @@ func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
98
return false
99
}
100
101
+func (priv *PrivateKey) Bytes() []byte {
102
+ return (*blst.Scalar)(priv).Bytes()
103
+}
104
+
105
type PublicKey blst.P1Affine
106
107
func PublicKeyFromBytes(data []byte) (*PublicKey, error) {
minsig/minsig.go
type PublicKey blst.P2Affine
0 commit comments