-
hi all
I have 2 question for u
first:
can I start the mail client of the people, and also, create on it a new mail with some text ?????
second:
how can I encrypt a text file, so the people cannot see what it has (i am doing a trivia game, and it loads the questions and answers from a TXT file), and then, how can I decrypt this file so i can load the data???
tanx
Ricardo
PS: sorry my english (I am from Argentina)
-
vb world has a topic about decryption i believe
-
Mail
You can use OLE Automation.. Check out this link for some tips...
http://www.vbworld.com/internet/outlook/
/Smirre
-
There is both fast algoritm encryption and keyencryption on my homepage ;)
-
Don't use the Encryption algorythm on the vb-world site, see the comments on the article to see why. Kedaman's encryption is much better.
(And if I ever get my Triple DES DLL finished it'll be even better :D ... but don't hold you're breather on that)
-
Paul> What's your triple DES DLL's features about? I wan't to know, also i'm thinking of making my first DLL, hehe with additional random seed encryption :)
-
tanx
tanx all of you, today i will try to do these things and tomorrow i'll post a mesagge saying the results
bye bye
Ricardo
-
try searching planet soruce code too, they have some good examples. i also found a good one at http://www.dev-centre.com
-
err i think you will find that the link is in fact:
http://www.dev-center.com/
;)
-
Kedaman
There is a spec for the DES algorithm on a few of the Us gov't stardards home pages (I've got the link around somewhere) and it's well written with examples and all.(Unlike trying to decipher RFC's)
I'd read a lot of bit's and pieces on encryption but I wanted to actually code a real encryption algorithm, not this A=1 B=2 rubbish. DES works in 64 bit blocks and dumps the parity bit of the key giving effective 56bit encryption, Tripple DES uses the same algorithm three times with two keys, The first key encrypts, the second is used to decrypt but is the wrong key so encrypts further and the origonal is used to encrypt again. the effective bit lenght being 112 bits (no where near breakable by brute force means)
I've coded up the spec and it works but it's slow (for files over 50k) but then the code is still a mess as I kept having to change it to get it to work. I'd like to recode it now that it works, and keep performance in mind, I have an idea for the flow which could increase the speed dramatically, although it would still be slow for large files.
I could send it to you if you like!
It's not a dll yet, I thought I'd get the thing to work first, then work well, then work as a dll (It doesn't work well yet :) ) but it does encrypt and decrypt
-
Ok, Paul send me, and i'll do some comparing to my encryption in speed after my last work: Random Seed encryption. Well As I see this, I'm sure There's no limiting my encryptionw with any bit's as you can put a varlen string into it and it encrypts.
-
I doubt it'll be a comparison when you see what goes on inside.
every 8 bytes goes through 16 permutations and each permutation is XOR - > S-table look up (4bit conv)
XOR to Key Permutation -> inverse prev XOR
great for a few Kb of text, took over 1 min per 200k file though
I'll send it to you when I get home / have a moment, so you'll probably have it in the next day or so
-
Paul,
Could i get a copy as well? I would like to try converting it to a C++ COM object, as the speed would be greatly increased.
-
It's sent!!!
I've included a zip of the spec in the zip file! I used one other spec too:
The Official FIPS (Federal Information Processing Standards) Publication No. 46
Here's one link although there are many more (including the official one) but they are all the same
http://www.cerberussystems.com/INFOSEC/stds/fip46-3.htm
Oh, In the files I sent, the permutation tables are in ini files, I hadn't gotten around to putting them in resource files yet
[Edited by Paul282 on 06-02-2000 at 11:13 AM]
-
sorry, at least i nearly had the right site :(
-
-
addy