]> Cypherpunks.ru repositories - pygost.git/blobdiff - www.texi
Various URL fixes
[pygost.git] / www.texi
index 86bc3efa8c3ea60b9493dc0f5e9128533ef3e645..6840b0e62c1432bc704a84ea3c01f81bbd23b2b7 100644 (file)
--- a/www.texi
+++ b/www.texi
@@ -15,7 +15,7 @@ It is
 @url{https://www.gnu.org/philosophy/pragmatic.html, copylefted}
 @url{https://www.gnu.org/philosophy/free-sw.html, free software}:
 licenced under @url{https://www.gnu.org/licenses/gpl-3.0.html, GPLv3}.
-You can read about GOST algorithms @url{http://gost.cypherpunks.ru/, more}.
+You can read about GOST algorithms @url{http://www.gost.cypherpunks.ru/, more}.
 
 Currently supported algorithms are:
 
@@ -60,7 +60,7 @@ Currently supported algorithms are:
 
 Example 34.10-2012 keypair generation, signing and verifying:
 
-@verbatim
+@example
 >>> from pygost.gost3410 import CURVES
 >>> curve = CURVES["id-tc26-gost-3410-12-512-paramSetA"]
 >>> from os import urandom
@@ -74,21 +74,22 @@ Example 34.10-2012 keypair generation, signing and verifying:
 >>> print "Public key is:", hexenc(pub_marshal(pub))
 >>> from pygost import gost34112012256
 >>> data_for_signing = b"some data"
->>> dgst = gost34112012256.new(data_for_signing).digest()
+>>> dgst = gost34112012256.new(data_for_signing).digest()[::-1]
 >>> from pygost.gost3410 import sign
 >>> signature = sign(curve, prv, dgst, mode=2012)
 >>> from pygost.gost3410 import verify
 >>> verify(curve, pub, dgst, signature, mode=2012)
 True
-@end verbatim
+@end example
 
 Please send questions, bug reports and patches to
-@url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost}
+@url{http://lists.cypherpunks.ru/mailman/listinfo/gost, gost}
 mailing list. Announcements also go to this mailing list.
 
 @insertcopying
 
+@include faq.texi
 @include news.texi
-@include download.texi
+@include install.texi
 
 @bye