|
-
May 30th, 2000, 11:24 AM
#1
Thread Starter
Junior Member
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)
-
May 30th, 2000, 11:59 AM
#2
Conquistador
vb world has a topic about decryption i believe
-
May 30th, 2000, 02:31 PM
#3
Hyperactive Member
Mail
You can use OLE Automation.. Check out this link for some tips...
http://www.vbworld.com/internet/outlook/
/Smirre
Visual Basic
C, C++
Java
Access
SQL Server
MCP, MCSD
-
May 30th, 2000, 02:53 PM
#4
transcendental analytic
There is both fast algoritm encryption and keyencryption on my homepage
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 03:06 PM
#5
Fanatic Member
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 ... but don't hold you're breather on that)
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
May 30th, 2000, 03:44 PM
#6
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 10:58 PM
#7
Thread Starter
Junior Member
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
-
May 31st, 2000, 03:32 PM
#8
Conquistador
try searching planet soruce code too, they have some good examples. i also found a good one at http://www.dev-centre.com
-
May 31st, 2000, 03:56 PM
#9
Lively Member
err i think you will find that the link is in fact:
http://www.dev-center.com/
Mag-Net's Home
Visual Studio 6-Enterprise - SP4
ICQ: 35519773
Have Fun 
-
Jun 1st, 2000, 06:39 AM
#10
Fanatic Member
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
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 1st, 2000, 10:38 AM
#11
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 1st, 2000, 10:55 AM
#12
Fanatic Member
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 Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 1st, 2000, 06:56 PM
#13
Fanatic Member
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.
Iain, thats with an i by the way!
-
Jun 1st, 2000, 10:03 PM
#14
Fanatic Member
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]
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 2nd, 2000, 11:08 AM
#15
Conquistador
sorry, at least i nearly had the right site 
-
Jun 2nd, 2000, 08:24 PM
#16
Fanatic Member
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 4th, 2000, 03:46 AM
#17
Lively Member
addy
lol i like it!
Mag-Net's Home
Visual Studio 6-Enterprise - SP4
ICQ: 35519773
Have Fun 
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
|