Does anyone know where to find test vectors for the GOST cipher? I have been looking around for quite some time, and have been unable to find anything. I know that the sboxes are dependent on the implementation, so hopefully the test vectors you know of has them too. the rfcs dont have anything

i have found this, but there is no way to tell what sbox they used, short of reverse engineering it, so that website is not very helpful


2 Answers 2


The official specifications seem to lack of test vectors but there are libraries including some:

Hope this helps.

  • Unfortunately not. Digging into source code and reading it is not one of my skills :(
    – calccrypto
    Jul 2, 2011 at 11:34
  • 2
    Maybe you can use these tested implementations to generate some test vectors.
    – Jcs
    Jul 3, 2011 at 14:16
  • would people answer (a new question) if i asked if my knowledge of how to implement gost is correct? I dont want people complaining about me asking about the same thing over and over again
    – calccrypto
    Jul 4, 2011 at 1:20
  • @calccrypto, I dont think anybody would object on grounds of it being a duplicate of this one, but I think there may be other issues at play here. For one, unless you are a professional cryptographer, you shouldn't be implementing this on your own. If you are, then you should probably be able to infer from the RFC or whatever. If you're just doing this to learn, then I think your question would probably be too broad... In general, I would say if you have a specific difficulty, or questionable point, go for it - otherwise, you could also try over in Information Security Chat.
    – AviD
    Jul 4, 2011 at 21:38
orginal: 00000000 00000000
key   : 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1. cevrim ciktisi: 00000000 bb268a72
2. cevrim ciktisi: bb268a72 ca44ee08
3. cevrim ciktisi: ca44ee08 bed841b7
4. cevrim ciktisi: bed841b7 b89f4820
5. cevrim ciktisi: b89f4820 24424fa0
6. cevrim ciktisi: 24424fa0 ea684495
7. cevrim ciktisi: ea684495 56ff7562
8. cevrim ciktisi: 56ff7562 767aa8e8
9. cevrim ciktisi: 767aa8e8 62663a1b
10. cevrim ciktisi: 62663a1b 3ebf58ca
11. cevrim ciktisi: 3ebf58ca fdfd2330
12. cevrim ciktisi: fdfd2330 ad3fd177
13. cevrim ciktisi: ad3fd177 6421838e
14. cevrim ciktisi: 6421838e 473f9147
15. cevrim ciktisi: 473f9147 f9782558
16. cevrim ciktisi: f9782558 34a858de
17. cevrim ciktisi: 34a858de 8ee4646e
18. cevrim ciktisi: 8ee4646e b2129bf2
19. cevrim ciktisi: b2129bf2 dbca0a4a
20. cevrim ciktisi: dbca0a4a 81530479
21. cevrim ciktisi: 81530479 50f69913
22. cevrim ciktisi: 50f69913 4c66800c
23. cevrim ciktisi: 4c66800c 1ad02f91
24. cevrim ciktisi: 1ad02f91 7793fd4c
25. cevrim ciktisi: 7793fd4c 93b198c6
26. cevrim ciktisi: 93b198c6 9a88a8af
27. cevrim ciktisi: 9a88a8af e72efd01
28. cevrim ciktisi: e72efd01 33ee527f
29. cevrim ciktisi: 33ee527f 48fa1c65
30. cevrim ciktisi: 48fa1c65 85a4ecea
31. cevrim ciktisi: 85a4ecea 4d33070b
32. cevrim ciktisi: 4d33070b 0eca1a54
encryted: 0eca1a54 4d33070b
  • with which sbox?
    – calccrypto
    May 30, 2012 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.