User Tag List

Results 1 to 4 of 4

Thread: Encrypting a List

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Encrypting a List

    Hello,

    In an application that I am working on, I have a list of data that needs to be encrypted and decrypted on command (I am using the "list object"). While encrypting, the lines of the list seem to be encrypted into a fewer number of lines, causing the decryption to be wrong. Could this be happening because I am encrypting the whole list at once? Should I encrypt the data one line at a time?

    Thank you,
    Rockdude

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Encrypting a List

    This should not matter, as long as it is decrypted the same way it was encrypted it will always work.

    Which extension are you using to perform the encryption?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Encrypting a List

    It makes sense that the encrypted list has fewer lines than the decrypted one. Lists usually use a delimiter character (often a new line or a comma) to separate every item in the list. When you encrypt the entire file, these characters are changed into different ones. So if you load the entire encrypted file back into your list extension, there will be fewer lines than before.

    No data will have been lost, however, so decrypt it and it should be exactly the same.

  4. #4
    No Products Registered

    Join Date
    Feb 2009
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Encrypting a List

    I have figured it out!

    The reason it was coming out differently was because I had been encrypting the whole file at once, and then decrypting one line at a time in the program. I had been using a different method for both encrypting and decrypting.

    Well, thanks for the help, LB and Jaffob.

Similar Threads

  1. Encrypting game data
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 22nd December 2012, 02:41 PM
  2. encrypting ini
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th September 2008, 04:18 PM
  3. Encrypting Files
    By im2famous4u in forum Multimedia Fusion 2 - Technical Support
    Replies: 30
    Last Post: 21st May 2008, 08:38 PM
  4. Encrypting messages in Moo
    By Plooscva in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th February 2007, 11:49 AM
  5. Encrypting qeustion
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th August 2006, 07:09 PM

Posting Permissions

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