User Tag List

Results 1 to 6 of 6

Thread: is file already encrypted?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question is file already encrypted?

    whats the best way to write in a ini entry with aesfusion and keep track to see if that entry is encrypted or not and at the same time keep that secret too? (this is so i don't re-encrypt whats there already and if the made app crashes unexpectedly.)

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Not sure I understand your scenario entirely, but you could just hash the data and compare the hash. Save the hash inside the same INI, then do a compare when you load the data...?

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    You'd be best to assume the file is encrypted. If the file process is that the file is only decrypted in memory it shouldn't be a problem. However if you're decrypting the file to disk to read and then encrypting it once done that wouldn't be a good idea. If the extension doesn't allow you to read a decrypted version of the file with out writing the file back to disk then I'd stop using the extension.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question very good points

    Quote Originally Posted by Danny View Post
    Not sure I understand your scenario entirely, but you could just hash the data and compare the hash. Save the hash inside the same INI, then do a compare when you load the data...?
    i see reading the hash of the file to see if has been modified/changed.
    thanks i didn't think of that

    Quote Originally Posted by danworth View Post
    You'd be best to assume the file is encrypted. If the file process is that the file is only decrypted in memory it shouldn't be a problem. However if you're decrypting the file to disk to read and then encrypting it once done that wouldn't be a good idea. If the extension doesn't allow you to read a decrypted version of the file with out writing the file back to disk then I'd stop using the extension.
    the ini entrys are stored like this in the file as example.

    [2515E3462611B36289C9D4569C76458]
    44E10E3817BF0BE658E1841EE9BEBC46=E37127D88F44FBAE8 7B2AFBE12D595F9

    I'm sure this is not a problem, compared to encrypting a file then decrypting it is less secure as you explained.

    one more question in relation of security which ctf extensions are memory related to store unencrypted data until its ready to be encrypted again?
    im sure the editbox and string objects ain't good choices.

  5. #5
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Aside of the INI extension, all are pretty much memory related unfortunately. The INI extension reads and writes directly to the file when called, this is rather secure. I would just secure the hash's you're dealing with as strings. If you really need to display something in Fusion, your best bet is to split the string into separate values. IE: Your encrypted string "2515E3462611B36289C9D4569C76458" is now listed in Fusion as:

    Alterable Value A: 2515E
    Alterable Value B: 34626
    Alterable Value C: 11B36

    etc. you could even skip an alterable value with an insane delimiter like #283928d$*$("jdnfj_randomstring(93834)_)

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for all your help Danny this information is invaluable for me password program.

Similar Threads

  1. Encrypted INI?
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 13th May 2009, 01:09 PM
  2. How to decrypt Binary object encrypted data?
    By Mathias in forum Extension Development
    Replies: 0
    Last Post: 13th October 2008, 03:40 PM
  3. [Request]Quicktime Object that plays encrypted
    By LazyCoder in forum Extension Development
    Replies: 2
    Last Post: 18th March 2007, 09:43 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
  •