usage.dat

来自「一个DES,RSA,MD5,RC4等加密算法的源码」· DAT 代码 · 共 52 行

DAT
52 行
字号
Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives

- To generate an RSA key
	cryptest g

- To encrypt and decrypt a string using RSA
	cryptest r

- To sign a file using RSA
	cryptest rs privatekeyfile messagefile signaturefile

- To verify a signature of a file using RSA
	cryptest rv publickeyfile messagefile signaturefile

- To calculate MD5, SHA, and RIPEMD-160 message digests
	cryptest m file

- To encrypt and decrypt a string using DES-EDE in CBC mode 
	cryptest t

- To encrypt or decrypt a file
	cryptest e|d input output

- To secret share a file (shares will be named file.000, file.001, etc)
	cryptest ss <threshold> <number-of-shares> file

- To reconstruct a secret-shared file
	cryptest sr file share1 share2 [....]
	(number of shares given must be equal to threshold)

- To information disperse a file (shares will be named file.000, file.001, etc)
	cryptest id <threshold> <number-of-shares> file

- To reconstruct an information-dispersed file
	cryptest ir file share1 share2 [....]
	(number of shares given must be equal to threshold)

- To gzip a file
	cryptest z <compression-level> input output

- To gunzip a file
	cryptest u input output

- To forward a TCP connection
	cryptest ft source-port destination-host destination-port

- To run validation tests
	cryptest v

- To run benchmarks
	cryptest b [time for each benchmark in seconds]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?