Results 1 to 17 of 17

Thread: a lot of questions, :-)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    argentina
    Posts
    25

    Question

    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)

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    vb world has a topic about decryption i believe

  3. #3
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    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

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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.

  5. #5
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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!)

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    argentina
    Posts
    25

    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

  8. #8
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    try searching planet soruce code too, they have some good examples. i also found a good one at http://www.dev-centre.com

  9. #9
    Lively Member
    Join Date
    Mar 2000
    Location
    Lowestoft
    Posts
    91
    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

  10. #10
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840

    Lightbulb

    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!)

  11. #11
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Wink

    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.

  12. #12
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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!)

  13. #13
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    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!

  14. #14
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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!)

  15. #15
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    sorry, at least i nearly had the right site

  16. #16
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840

    Question

    ??
    Paul Dwyer
    Network Engineer
    Aussie In Tokyo

    Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)

  17. #17
    Lively Member
    Join Date
    Mar 2000
    Location
    Lowestoft
    Posts
    91

    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
  •  



Click Here to Expand Forum to Full Width