|
-
December 22nd, 2003, 03:27 AM
#1
abt encryption algorithm
hellooooo everyone here..
i hv sum qns.. i m doin prj recently.. so hence doin encryption on patient text files.. i m new to encryption.. so i m using xor encryption. i noe it is basic .. but it is easy to be decrypted by hackers.. right? so, i use xor encryption wif random xor-value.
is it ok?
okie.. here math algorithm..::::
srand(10); on top of the program -- // Init the random number generator with "10"...
i dun get it.. pls enlighten mi..
c=c ^ (rand()/12000 + 1);
u noe y 12000+ 1 is used? y nt 12000 or any numbers? any more to tell mi regardin tt.. feel free to tell mi.. i m willing to learn more..
that's all.. thanks. hope to hear frm u asap..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|