Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.0 KiB

  1. Test Driver for Crypto++(R) Library, a C++ Class Library of Cryptographic Schemes
  2. - To generate an RSA key
  3. cryptest g
  4. - To encrypt and decrypt a string using RSA
  5. cryptest r
  6. - To sign a file using RSA
  7. cryptest rs privatekeyfile messagefile signaturefile
  8. - To verify a signature of a file using RSA
  9. cryptest rv publickeyfile messagefile signaturefile
  10. - To digest a file using several hash functions in parallel
  11. cryptest m file
  12. - To encrypt and decrypt a string using DES-EDE in CBC mode
  13. cryptest t
  14. - To encrypt or decrypt a file
  15. cryptest e|d input output
  16. - To secret share a file (shares will be named file.000, file.001, etc)
  17. cryptest ss threshold number-of-shares file
  18. - To reconstruct a secret-shared file
  19. cryptest sr file share1 share2 [....]
  20. (number of shares given must be equal to threshold)
  21. - To information disperse a file (shares will be named file.000, file.001, etc)
  22. cryptest id threshold number-of-shares file
  23. - To reconstruct an information-dispersed file
  24. cryptest ir file share1 share2 [....]
  25. (number of shares given must be equal to threshold)
  26. - To gzip a file
  27. cryptest z compression-level input output
  28. - To gunzip a file
  29. cryptest u input output
  30. - To encrypt a file with AES in CTR mode
  31. cryptest ae input output
  32. - To base64 encode a file
  33. cryptest e64 input output
  34. - To base64 decode a file
  35. cryptest d64 input output
  36. - To hex encode a file
  37. cryptest e16 input output
  38. - To hex decode a file
  39. cryptest d16 input output
  40. - To forward a TCP connection
  41. cryptest ft source-port destination-host destination-port
  42. - To run the FIPS 140-2 sample application
  43. cryptest fips
  44. - To generate 100000 random files using FIPS Approved X.917 RNG
  45. cryptest fips-rand
  46. - To run Maurer's randomness test on a file
  47. cryptest mt input
  48. - To run a test script (available in TestVectors subdirectory)
  49. cryptest tv filename
  50. - To run validation tests
  51. cryptest v
  52. - To display version number
  53. cryptest V
  54. - To run benchmarks
  55. cryptest b [time allocated for each benchmark in seconds] [frequency of CPU in gigahertz]