⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scripts.txt

📁 采用非对称密钥加密方式的应用系统认证系统
💻 TXT
字号:
                            RDEMO Test Scripts

                                Version 1.0

                   Copyright (C) J.S.A.Kapp 1991 - 1995.

REDEMO comes with several test scripts that test RSAEURO
cryptographic operations of various key sizes.

The test scripts are: '508.in', '512a.in', '767.in' and
'1024.in'. The scripts consist of REDEMO commands. To exercise
a script, redirect REDEMO's input to the script. For example, on
a UNIX or DOS system you would run the command

     redemo < 508.in

to exercise the test script '508.in'. 

The scripts work with a number of input files. Each script also
produces output files that you can compare against reference
files supplied with REDEMO. Both the scripts and the reference
files are stored in the 'scripts' subdirectory.

See the 'redemo.txt' documentation file in the 'doc' subdirectory
for more information on the demonstration program.

'508.in' script

     1.   Generates a 508-bit RSA key pair, writing the key to
          '508.key'.

     2.   Signs 'file' with private key and MD5 message-digest
          algorithm, writing signature to '508-5.sig'.

     3.   Verifies signature.

     4.   Seals 'file' in envelope with public key and DES-CBC
          data encryption algorithm, writing encrypted file to
          '508-1.env', encrypted data encryption key to
          '508-1.key', and initialization vector to '508-1.iv'.

     5.   Opens envelope and displays result: should be "Envelope
          opened."

'512a.in' script

     1.   Signs 'file' with first built-in private key and MD2
          message-digest algorithm, writing signature to
          '512a2.sig'.

     2.   Verifies signature.

     3.   Repeats (1) and (2) with MD5. Signature in '512a5.sig'.

     4.   Seals 'file' in envelope with first built-in public key
          and DES-CBC data encryption algorithm, writing
          encrypted file to '512a1.env', encrypted data
          encryption key to '512a1.key', and initialization
          vector to '512a1.iv'.

     5.   Opens envelope and displays result.

     6.   Repeats (4) and (5) with DESX-CBC, DES-EDE2-CBC, and
          DES-EDE3-CBC. Files: '512ax.*', '512a2.*', '512a3.*'.

     7.   Repeats (3-5) on 'bigfile'. Result should be "Envelope
          opened \ This is a big file", repeated a few times.

'767.in' and '1024.in'

     Same as '508.in', except that '508' becomes '767' or '1024';
     new key pairs are generated in both cases.

⌨️ 快捷键说明

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