X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=www.texi;h=07d4a624dbacb3cc99910b491a0725aafa9246d1;hb=f40ccc51335b4fa94c249949150c5763847866bd;hp=83de587790a2ab8d2c22d48ae372a84b7eab62ea;hpb=7ed4c1e0857134c14ef5c03dee48c1cc7a555e98;p=gogost.git diff --git a/www.texi b/www.texi index 83de587..07d4a62 100644 --- a/www.texi +++ b/www.texi @@ -3,7 +3,7 @@ @settitle GoGOST @copying -Copyright @copyright{} 2015-2020 @email{stargrave@@stargrave.org, Sergey Matveev} +Copyright @copyright{} 2015-2021 @email{stargrave@@stargrave.org, Sergey Matveev} @end copying @node Top @@ -65,15 +65,15 @@ Example 34.10-2012-256 keypair generation, signing and verifying: import ( "crypto/rand" "io" - "go.cypherpunks.ru/gogost/v4/gost3410" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost3410" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) func main() { data := []byte("data to be signed") 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) @@ -87,7 +87,7 @@ func main() { @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