User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: AES Encryption and Setting Result In Editbox

  1. #11
    Clicker Fusion 2.5 DeveloperSWF 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 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    I downloaded it today from the link provided on the Fusion Wiki site:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=download&Number=5329&filename=S tring%20Generator.zip

    Maybe it also might have something to do with your MMF2 version. Try updating it to 251 and see if that helps. After a little thought on the Blowfish random key issue I remember reading either on the forums or in the help file that the Blowfish Random Key Generator feature sometimes produces characters that are not viewable.

    I took this in to consideration when designing the first version of the app. I stored the random key as an Alterable String and then when it displayed in the editbox I pulled the info from the Alterable String. When I set the key I made sure to pull the data straight from the Alterable String and not from the editbox as I knew there may be some characters that were generated by the Blowfish Random Key Generator that would not be picked up in the editbox.

    In any case, all is working great. I even compiled the app to an exe to see if it will work outside of the safe MMF2 environment and it works fine.

  2. #12
    No Products Registered

    Join Date
    Aug 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    I have downloaded the String Generator object from the link you provided, and I now experience the same issues you did. I now doubt it had anything to do with the build.

  3. #13
    Clicker Fusion 2.5 DeveloperSWF 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 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    I'm guessing it may have to do, possibly, with the order or way the expressions were entered in that first condition. I can mouse over and modify all the other conditions except for that first one.

    I did notice one thing. The way you limited the edibox text to 16 characters was using Len. There's another way. The way I do it is I do a condition of "At Start of Frame" I right click under the editbox that's for the key, go to Control > Limit text size, and then set the value to 16.

  4. #14
    No Products Registered

    Join Date
    Aug 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    It was the same thing for me in your example, the actions referencing the String Generator object could not be viewed or edited. With the newer version of the object the example behaved as intended.

    The reason I chose the Len method is because it will also prevent the use of keys shorter than 16 characters, which will no doubt happen at some point if users are allowed to specify their own keys.

  5. #15
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    Besides, I think the "Limit Text Size" doesn't prevent pasting more than 16...

  6. #16
    Clicker Fusion 2.5 DeveloperSWF 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 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    That's interesting about the 16 characters. And I just learned something new on how to limit characters +/- character lengths. Does the key have to be 16 characters or can it be less than 16 characters for AES?

  7. #17
    Clicker Fusion 2.5 DeveloperSWF 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 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    Quote Originally Posted by RickyRombo
    Besides, I think the "Limit Text Size" doesn't prevent pasting more than 16...
    I've tested it out and only "Limit Text Size" will prevent more than 16 characters in the editbox. It doesn't matter whether you manually type in the characters or attempt to paste more than 16 characters. If you past more than 16 characters with "Limit Text Size" then only the first 16 characters will paste.

    Len does not prevent more than 16 characters from being typed or pasted. It is good, however, if you want to create a condition that checks to see if there's more than 16 characters in the editbox and then lets a person know (string, dialog box, etc) that they have too many characters in the editbox.

    You can also use Len as Richard has used it. Use it as a condition so that if the characters exceed the limit specified in Len then it does not perform the action (i.e. encrypt the text).

  8. #18
    No Products Registered

    Join Date
    Aug 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    Yes. I think in such cases it would be best to check the contents of the input in a condition to prevent the AES object from performing its actions unless the key is correct, and also to implement some routine to warn the user if they type in a key that is not the requred length.

    Just to make sure, the key for AES 128 must be exactly 16 characters (128 bit) long.

  9. #19
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AES Encryption and Setting Result In Editbox

    Hi Everybody,

    a few months ago i developed an Encryption/Decryption-App. Perhaps someone would be interessted in testing it.

    The "Source" is for Free and can be edited to any extend. It could also be used as a Template for your own Encryption-App.

    Important: In that Build, the "File-Encryption" is not implemented yet (code-wise), but the Controls are already on the GUI. The String-Encryption/Decryption and saving of Keys does already work.
    I' ve implemented some "advanced" features already like checking for correct Key-Length and checking for duplicated Key-Names. The Keys can also be stored to an encrypted Database for later usage.

    Here' s the MFA:

    View MFA

  10. #20
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2014
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for bumping an old thread but does anyone know where I could find Jahkri's MFA file, preferably the latest version? The link above is dead.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. problem with digit result
    By arthurh in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th September 2013, 02:26 PM
  2. how to make sure a result is always rounded UP
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st August 2011, 06:19 PM
  3. fixing the result of Randomizer Object
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th May 2009, 08:15 PM
  4. ActiveX:get result from method -actually possible?
    By Quinto in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd June 2008, 05:32 PM
  5. [ REQUEST - PHP Result Parser ]
    By MelliGeorgiou in forum Extension Development
    Replies: 12
    Last Post: 29th May 2008, 12: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
  •