Annotation of rsaref/doc/scripts.txt, revision 1.1.1.1

1.1       root        1:                           RDEMO Test Scripts
                      2: 
                      3:                            RSA Laboratories
                      4:                             March 2, 1992
                      5: 
                      6: 
                      7: RDEMO comes with several test scripts that test RSAREF cryptographic
                      8: operations of various key sizes.
                      9: 
                     10: The test scripts are: '508test.in', '512test.in', '767test.in',
                     11: '1024test.in', and 'md2test.in'. The scripts consists of RDEMO
                     12: commands. To exercise a script, redirect RDEMO's input to the script.
                     13: For example, on a UNIX system you would run the command
                     14: 
                     15:      rdemo < 508test.in
                     16: 
                     17: to exercise the test script '508test.in'.
                     18: 
                     19: The scripts work with a number of input files. Each script also
                     20: produces output files that you can compare against reference files
                     21: supplied with RDEMO.
                     22: 
                     23: See the file 'rdemo.txt' in the 'doc' subdirectory for more on the
                     24: demonstration program.
                     25: 
                     26: 
                     27: '508test.in' script
                     28: 
                     29:      1.   Generates a 508-bit RSA key pair.
                     30: 
                     31:      2.   Outputs key to '508key.out' - compare to '508key'.
                     32:  
                     33:      3.   Verifies signature '508sig' on 'signfile' with 508-bit
                     34:           public key.
                     35: 
                     36:      4.   Opens envelope '508env' (signature '508env.sig', encrypted
                     37:           key '508env.key', initialization vector '508env.iv') with
                     38:           508-bit private key, built-in user #1 private key. Outputs
                     39:           result to '508env.out' - read to verify.
                     40: 
                     41: 
                     42: '512test.in' script
                     43: 
                     44:      1.   Verifies signature '512sig' on 'signfile' with built-in
                     45:           user #1 public key.
                     46: 
                     47:      2.   Opens envelope '512env' (encrypted signature '512env.sig',
                     48:           encrypted key '512env.key', initialization vector
                     49:           '512env.iv') with built-in user #1 private key, built-in
                     50:           user #2 public key. Outputs result to '512env.out' - read
                     51:           to verify.
                     52: 
                     53: 
                     54: '767test.in' and '1024test.in'
                     55: 
                     56:      Same as '508test.in', except that '508' becomes '767' or '1024'.
                     57: 
                     58: 
                     59: 'md2test.in'
                     60: 
                     61:      Verifies signature '512sig.md2' on 'signfile' with built-in user
                     62:      #1 public key. Run RDEMO with the '-2' flag for this script.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.