TEA Encryption


Results 1 to 12 of 12

Thread: TEA Encryption

Threaded View

  1. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    says something about not accepting
    data1 = "1234"
    doesnt like it
    why?
    Because you can't store more than 1 character in a variable...

    If you plan to translate/encrypt data, you'll have to get it byte by byte using an array or the internal EEPROM of your pic.

    easier and use less code space with the internal EEPROM if your PIC have one...
    data @0,"My text to be encrypt"

    and then after you just have to read EEPROM adress by adress
    Code:
    for Addr = 0 to 21
         READ Addr,HeresOneCharacterToEncrypt
         ' do your encryption stuff here
    next
    and NewValue=NewValue+EncrptionCode[t] + s
    because you didn't set EncryptionCode as a array
    EncrptionCode var byte[21]
    Last edited by mister_e; - 20th February 2005 at 01:12.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

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