X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=INSTALL;h=f5b57e0adc9ad9572fca287cdbdcbf8b30ccbd5c;hb=32e850a63da24008d8795c35369eda5e76fef7c7;hp=25590009a2bae07bf76acdc6102ec10fc141e735;hpb=4d989ebdb931ef9c87b62486ba987ba1fa9c6ab1;p=gogost.git diff --git a/INSTALL b/INSTALL index 2559000..f5b57e0 100644 --- a/INSTALL +++ b/INSTALL @@ -1,17 +1,45 @@ Preferable way is to download tarball with the signature from official website and, for example, run tests with benchmarks: - % wget http://www.cypherpunks.ru/gogost/gogost-1.1.tar.xz - % wget http://www.cypherpunks.ru/gogost/gogost-1.1.tar.xz.sig + % wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz + % wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz.sig % gpg --verify gogost-1.1.tar.xz.sig gogost-1.1.tar.xz - % xz -d < gogost-1.1.tar.gz | tar xf - - % make -C gogost-1.1 bench + % xz -d < gogost-1.1.tar.xz | tar xf - + % make -C gogost-1.1 all bench + % echo hello world | ./gogost-1.1/streebog256 + f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d + +And then you can include its source code in your project for example +like this: + + % mkdir -p myproj/src + % export GOPATH=$PWD/myproj + % cd myproj/src + % cat > main.go <