Results 1 to 21 of 21

Thread: Encryption

  1. #1

    Thread Starter
    Addicted Member hamins's Avatar
    Join Date
    Sep 2001
    Posts
    192

    Encryption

    Hi guyz,

    I need a Encryption/De-cryption code that is fast, very very secure on Large Files of any format. I need this urgently.


    Also need a compression code.

    I would be grateful if the codes are well commented.
    Knowledge is static .... understanding is Dynamic

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    PM eiSecure he is good at these things
    -= a peet post =-

  3. #3
    arausch
    Guest

    Example Code

    Hallo,
    I have an example code fpor encrypting/decrypting files with
    9 different algorithms :

    "Simple XOR", "http://tuath.pair.com/docs/xorencrypt.html"
    "Blowfish", "http://www.counterpane.com/blowfish.html"
    "CryptAPI"
    "DES (Data Encryption Standard)", "http://csrc.nist.gov/fips/fips46-3.pdf"
    "Gost", "http://www.jetico.sci.fi/index.htm#/gost.htm")
    "RC4", "http://www.rsasecurity.com/rsalabs/faq/3-6-3.html")
    "Skipjack", "http://csrc.nist.gov/encryption/skipjack-kea.htm")
    "TEA, A Tiny Encryption Algorithm", "http://www.cl.cam.ac.uk/Research/Papers/djw-rmn/djw-rmn-tea.html")
    "Twofish", "http://www.counterpane.com/twofish.html")

    If you want this code, I will mail it to you.

    Bye,

    André

  4. #4

    Thread Starter
    Addicted Member hamins's Avatar
    Join Date
    Sep 2001
    Posts
    192
    Hi arausch,

    Yes, if u can puhleeze send me the code.
    Knowledge is static .... understanding is Dynamic

  5. #5
    arausch
    Guest

    I need your e-mail-address...

    Hallo,
    I can't send you anything, until you post your e-mail-address,
    I get this nice message :

    Sorry! That user has specified that they do not wish to receive emails through this board. If you still wish to send an email to this user, please contact the administrator and they may be able to help.

    Bye,

    André

  6. #6
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    heheheh pretty dodgy

    You are ten years older than me hamins

  7. #7
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Originally posted by da_silvy
    heheheh pretty dodgy

    You are ten years older than me hamins
    ?
    -= a peet post =-

  8. #8
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Just saying that it's stupid that it says click heere to email this user,

    then i brang up the point that hamins is 10 years older than me...

    irrelevant but just thought i'd mention it

  9. #9
    DaoK
    Guest
    You should post code here because it might interest someone other

  10. #10
    arausch
    Guest

    Would like too, but it's too much code...

    I won't post 5.000 lines VB-Code(9 class modules, 3 forms, 2
    modules).

  11. #11

    Thread Starter
    Addicted Member hamins's Avatar
    Join Date
    Sep 2001
    Posts
    192
    Hi arausch,

    I too think that you should post the code here itself. Either in the message box or as an attachemnt. That way besides me some other soul could also use it.

    Thanx
    Knowledge is static .... understanding is Dynamic

  12. #12
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629

    Re: Would like too, but it's too much code...

    Originally posted by arausch
    I won't post 5.000 lines VB-Code(9 class modules, 3 forms, 2
    modules).
    If u want to share u could zip it up and post it ... not a problem

    I'd also like to have a peek at this
    -= a peet post =-

  13. #13
    arausch
    Guest

    I Didn't know that..

    I'm new to this forum, I didn't see the "Attachment Box".

  14. #14
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    thanks arausch
    -= a peet post =-

  15. #15
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Thumbs up

    thanks man

  16. #16
    Addicted Member
    Join Date
    Nov 2001
    Posts
    181

    Quoted printable..

    I have seen u'r code what u have attached and it is working fine...Does it support quoted printable formats...

  17. #17

    Thread Starter
    Addicted Member hamins's Avatar
    Join Date
    Sep 2001
    Posts
    192
    Thanx a ton arausch. !!

    I have'nt checked the code as yet, but thanx anyways.
    Knowledge is static .... understanding is Dynamic

  18. #18
    DaoK
    Guest
    Thx for the code I will check it in few !

  19. #19
    Addicted Member Rikk's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta
    Posts
    131

    Encryption code wanted?

    I got some code that encrypts and decrypts strings. It encrypts any size string and it's FAST!!! See speed test below.

    Test 1 :
    Line Length : 50000 characters
    Str Gen :
    Encrypt Time : 0.2188 secs.
    Decrypt Time : 0.2812 secs.
    Total Time : 0.5 secs.
    Result : Good

    Encryption logic does not use XOR because it's too slow. The code is a little long because using large strings is SLOW and had to work around that. Please use it and try and make it even faster!

    The function allows the user to supply a key but does not require it. It you want it, email me at [email protected] and I'll mail it to ya.

    =\=
    Rikk =\=
    Starcraft, Protoss Scout Driver!

  20. #20
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Rikk, also consider why people encrypt their stuff.

    It's for security reasons, not speed. Although XOR is slow, there are more secure alternatives, such as 3DES, IDEA, or RC4/RC5.

  21. #21
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209

    Re: Example Code

    Originally posted by arausch
    Hallo,
    I have an example code fpor encrypting/decrypting files with
    9 different algorithms :

    "Simple XOR", "http://tuath.pair.com/docs/xorencrypt.html"
    "Blowfish", "http://www.counterpane.com/blowfish.html"
    "CryptAPI"
    "DES (Data Encryption Standard)", "http://csrc.nist.gov/fips/fips46-3.pdf"
    "Gost", "http://www.jetico.sci.fi/index.htm#/gost.htm")
    "RC4", "http://www.rsasecurity.com/rsalabs/faq/3-6-3.html")
    "Skipjack", "http://csrc.nist.gov/encryption/skipjack-kea.htm")
    "TEA, A Tiny Encryption Algorithm", "http://www.cl.cam.ac.uk/Research/Papers/djw-rmn/djw-rmn-tea.html")
    "Twofish", "http://www.counterpane.com/twofish.html")

    If you want this code, I will mail it to you.

    Bye,

    André
    Just 1 comment: CryptoAPI is designed for C/C++. For us VB programmers, there's CAPICOM, which is basically a DLL containing everything CryptoAPI has, but in easy-to-use simple function calls.

    Either search these forums, post a message at my forums, or search Microsoft's MSDN Library for more info.

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