hasher := gost34112012256.New()
_, err := hasher.Write(data)
dgst := hasher.Sum(nil)
- curve := gost3410.CurveIdtc26gost34102012256paramSetB()
+ curve := gost3410.CurveIdtc26gost341012256paramSetB()
prvRaw := make([]byte, 32)
_, err = io.ReadFull(rand.Reader, prvRaw)
prv, err := gost3410.NewPrivateKey(curve, prvRaw)
@end verbatim
Please send questions, bug reports and patches to
-@url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost}
+@url{http://lists.cypherpunks.ru/gost.html, gost}
mailing list. Announcements also go to this mailing list.
@insertcopying