33
所属分类:Windows编程
开发工具:Visual Basic
文件大小:7KB
下载次数:3
上传日期:2009-12-22 16:03:09
上 传 者:
wthxx
说明: i tried to do this algorithm and finally i ve success
文件列表:
example (0, 2001-01-18)
example\Project1.vbw (46, 2001-01-18)
example\Form1.frx (2114, 2001-01-18)
example\Project1.vbp (709, 2001-01-18)
example\Form1.frm (2081, 2001-01-18)
original (0, 2001-01-18)
dll (0, 2001-01-18)
dll\clsIsaac.cls (2192, 2001-01-18)
dll\isaac.exp (964, 2001-01-18)
dll\isaac.lib (2566, 2001-01-18)
dll\Isaac.vbp (1151, 2001-01-18)
dll\Isaac.vbw (33, 2001-01-18)
Isaac v1.0
Copyright (C) 2001, Michael Isaac
This code is NOT public domain. Give me credit for anything you
make that uses this code, dll, or peices of either. Thats all
I ask. ICQ: 37082339
Isaac is a symmetric encryption program/dll with sources.
Notice i said 'a symmetric' and not 'asymmetric'. Incase you dont
know what the diffrence is, ill clue ya in ;)
symmetric Requires that any party wishing to decrypt the message
know the secret key that was used to create it with.
asymmetric Requires the a private key to decrypt the
message after it was encrypted with a public key.
That might not help much but thats how it works. Anyways this way this
encryption works is as follows.
All 255 characters are placed on a rotating grid. Meaning that the
first gird line looks somewhat like this...
01234
40123
34012
23401
12340
Encrypting is much simpler and faster then decrypting. To encrypt
a message, we loop through the message one character at a time, take
that character, find its ascii value and move that many places down
the left side of the grid. Then we do the same with the password.
Only we find its ascii value accross the top. Where the two inersect,
is the character we place in the encrypted version of the message.
To decrypt the message, we start kinda out the same way, we loop
through the password one character at a time. We go down the left
hand side of our virtual grid, and move left as many spaces as we
have to, to find our encrpyted character, after we find it, we use
the amount of places we moved as the ascii value of the decypted
character.
And there it is. My e-mail has recently been down but you can add
me to ICQ and send your comments to me there. Dont forget to cast
a vote for me if you think is good.
Michael Isaac
近期下载者:
相关文件:
收藏者: