. . DES. . RSA.
, | |
09.03.2009 | |
101,1 K |
. ,
, , , , .
1
29
"
"
" "
2003
1.
2.
3.
4.
5.
6.
7. RSA
8.
9.
10.
, " " " ". - RSA. :
- c txt.
- c rsr.
:
- c rsr, , .
- , .
. , .
IBM- () ( 640). Windows'95( ) , .
. , () , , p q, , .
1.
[symmetric key, dual key]. , . , . . , .. , , , , .
[one-time pad], () - (. [S94]). ; . , . , - , , .
DES
DES (Data Encryption Standard), 23 1976 . [unclassified] (. [S94], .219-243). () ; 1992 . , DES , . , DES - .
28147-89
28147-89 . . , 1 1990 . DES, , . 28147 DES, , , , [ DES S-boxes]. , DES , 28147 . , , ̔, , , . DES.
1976 . . . [DH76] - [public key cryptosystem]. , [public] [private, secret], , . , - . ; , . - . , .
RSA
1978 . ., . . [RSA78] , RSA ( ). . . ( ) 430 ; , 512 10 , 1024 - . RSA .
, RSA , NP- , de-facto , . , , RSA, , RSA .
DSS
1991 . - DSS (Digital Signature Standard, [DSS91], . [S94], .304-314), DSA (Digital Signature Algorithm). .
DSA, , RSA, - , - [E85] [S89]. . , ; 512 1024 , RSA. DSA , RSA, 320 .
(., ., [R92]), . DSA , , , , , , , . , , , , .
DSA , . DSA RSA , ( 10-40 ) .
DSS SHS (Secure Hash Standard), - SHA (Secure Hash Algorithm), DSA (. [S94], .333-336). - SHA MD4, .
1993 . , . .
... DSS. - , DSS, . , 512 1024 ; 512 .
. , , , DSS. DSS, , , q , DSA. , , .
DSS, , . .
, 28147. 28147 .
, , , , .
2.
, :
c txt rsr, , ( RSA).
rsr , .
3.
. File\Open File.
rsr. File\Open Shfile.
TestFile.txt (. - ), Test.
4.
rsr. txt. .
( ) Edit\Encrypt File Edit\Decrypt File . Edit/Generation Key , .
5.
:
;
p q ( , ) / , - ;
;
- ;
ANSI.
, . . . n. n2.
: r
k
r = xj2j , xj = 0,1; k=[log2 r]+1
j=0
,
(a2, mod n) , 0<=j<=k,
(ar, mod n) k-1 n. , , k k -1 . , 2k - 1 , , n, n. r m, r
, (783, mod 61),, 760=1(mod61)., (723, mod 61). , .
j 0 1 2 3 4
72^j 7 49 22 54 16
23 = 10111, :
(723, mod 61) = (61*(22*(49*7)), mod 61) =17.
6.
1976 . . . [DH76] - [public key cryptosystem]. , [public] [private, secret], , . , - . ; , . - . , .
, . , (), , (), , , (. [BFS91], .7, [S94], .1). - , : , .
, . : , , , , . , . , , - .
- , , , . , . , . . , , , . : , - . - () [one-way hash function, digest], , ; - , -, . , -; -. - , , -. -, , .
, . , , .
7.
RSA
RSA (: Rivest, Shamir Alderman) (public-key) , 1977 . .
RSA . , DES 100 RSA, 1,000-10,000 , .
RSA:
1. P Q N=PQ M=(P-1)(Q-1)
2. D, M E=(1MODM)/D
3. D N , E .
4. S - , , , (1,N), D N C=SD MOD N
5. , E ( E ) N, .. S=CE MOD N.
8.
Object Pascal , , . , , , , , ( ).
. Borland Delphi.
: , .
, , , , . Borland Delphi.
.
, EXE . EXE , Windows. , .
Object Pascal, , , , , . , , , :
n m; d - m e;
, .. , , (. 5);
( 9*1018);
;
.
, , Borland Delphi.
9.
. - RSA.
TestFile.txt ( , ):
1. .
23 7.05.2000 (338 ) , Windows 95/98/NT, Word, Excel, FAR, , , , BIOS "". Windows help- DOS (CP-866) , Windows. Norton Commander, Dos Navigator, Volkov Commander .. , , : more sovety.txt |
, Shifr.txt ( ), :
2. .
GD[+54P )<[y` GD[ 4V![` )< 13[GDEWU`[`L·´sՇ_z 0Y ܈K' ~/n\/0nnn YY¨ ܈sՇK'܈sv`L ·´`L·´GD܈Xo܈_>VEK ܈sՇK'܈sC >VEKEKC z M(TZJ;? Y\Y¨{cC MZJg s>VՇ $x'd ¨d¨=<=<v EK {8fNEK0C Շ{8z |XՇ_ՇK'EKՇK'`L·´5EKd_f[EKK 'k M(TlZJ;?/ y |X܈{8ՇXՇ {8fN EKՇ |X_z ܈K'fK'K'szz`L·´|X_܈d_EK |
, .. , , 2 ( 1).
10.
, . 10.1 () , .
10.1 -
10.2 .
10.2 -
:
File\Open File -
File\Open Shfile -
File\Save Result -
File\Reset -
File\Exit -
Edit\Generation Key - ,
Edit\Encrypt File -
Edit\Decrypt File -
Edit\Information - , ..
Option\Show All -
Option\Show Encrypted - rsr
Option\Show Decrypted - txt
Option\ANSI - ANSI ( Windows)
Option\ASCII - ASCII ( DOS)
Option\Show Hidden - /
Option\Show System - /
Help\Contents -
, , , . , , . . View; .
p q, , ( 127 331), . Encryption Options Personal. Corporate p q , .
" " " " (). "". . . , . . , .
.
1. . . - . .. . .. ..
2. .. - .: . , 1975.-369.
3. . " ": 1988
. RSA: . . . .
[326,0 K], 04.11.2013, . : , " ".
[3,3 M], 11.03.2013DES . . RSA. .
[398,4 K], 26.01.2010. . . . .
[795,7 K], 02.12.2014, . / . Ethernet. - . Gigabit Ethernet.
[3,6 M], 13.09.2017; , . DES, .
[129,6 K], 17.02.2011. . . . , .
[1,7 M], 07.09.2016. . . : (), , . . .
[57,7 K], 24.05.2005. . , . . . - . .
[461,7 K], 22.09.2011. . . . DES.
[1,4 M], 20.12.2012