TEA Encryption


Results 1 to 12 of 12

Thread: TEA Encryption

Threaded View

  1. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello Ivan,

    I know that this sounds crazy, but why bother with complex code for a encryption? Use up that RAM and Code space? All encryption can be broken, and the code of the encryption is someplace in that chip.

    Instead of going through that mess, why not take advantage of the computers limitations?

    For example....

    Lets encript the following data.

    Data var Byte
    EnCryption var Byte
    NewValue var byte

    Data= "Hello World"
    EncryptionCode="MySecret".



    A way to think about it, is a byte can only go to 255 (FF) and starts all over again.

    All you need, is two loops....

    For s=0 to length of Data step 1
    NewValue=Data[s]
    For t=0 to length of EncryptionCode Step 1
    NewValue=NewValue+EncrptionCode[t] + a changing Value
    (that value can be the "s" in the For/Next loop)
    Next t
    'whala! NewValue is encrypted what do you want to do?

    Next s 'get next value to encrypt.


    And you do the opposite to Decrypt it.


    Just a idea.....

    Dwayne
    Last edited by Dwayne; - 22nd July 2004 at 16:11.
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. encryption ?
    By RAYMON in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th February 2009, 14:25
  2. xtea encryption
    By toalan in forum Off Topic
    Replies: 9
    Last Post: - 2nd May 2008, 21:13
  3. AES Encryption on PIC16F/18F
    By Emerson in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 17th November 2005, 00:45
  4. Encryption in pics - why?
    By rastan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2005, 15:23
  5. TEA encryption and embedding in PBP
    By rastan in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 19th February 2005, 01:38

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts