Activity Stream
48,167 MEMBERS
6232 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com

    Default [AMS] How to make your own Encryption Tool [TUT]

    I wrote this tutorial because I was super bored today, also ofcourse to lean noobs some coding

    First of all, download AMS8 here:
    http://xcoderz.net/viewtopic.php?f=17&t=9

    And install it lol.

    What are we going to code?
    We are going to make an very easy tool to encrypt/decrypt text with a password.

    I'm a noob, can I finish this without problems?
    Yes, I think so. I will do my best to describe everything as good as possible.
    NOTE: If you get stuck, just post it below and I will help you out

    1. Start AMS8, and click "Create a New Project" --> "Black Project"



    2. You see that the current Project template is far to big for such small app. Now change the size of it by going to: "Project" --> "Settings..."



    To change the size you need to click the dropdown button in the Dimensions section, change it to "Tiny"

    3. Now you see that your template is smaller, now we start by adding 3 input objects. Press Ctrl + Shift + 1 to insert a input. Do this 3 times, you will get like this:



    Now double click the last created Input [3], under the "Input Style" section select "Password" like this:



    4. Add a button by pressing Ctrl + 1, and select: 0002-royale as example.
    Double click the button and click on the "Attributes" tab, and change the sounds to "None" (This is quite annoying that's why we are disabling this.)



    5. Now give the button a name. (Double click and change the name to "Encrypt"). this is the Encrypt button.

    6. Now select that button again (SELECT, NOT DOUBLE CLICK), and press Ctrl + C and then Ctrl + V. Now you have 2 buttons.

    7. Give the second button the name: "Decrypt"

    8. Now to the coding work
    Double click the Encrypt button. Go to the "Scripts" tab. You will see this:



    Now click the "Add Action" button, you will see this:



    Click the dropdown box and select the "Input" actions.



    Wait now, and think. What should we do now?
    YOUR TEXT (Input) + PASSWORD = ENCRYPTED TEXT

    You typed text into Input1. and that text needs to be encrypted, so we first need to get the text OUT of the Input. Here is a little story:

    Kid: Mom?
    Mother: Yes?
    Kid: How old am I?
    Mother: KidAge = Age.GetText("Kid");
    Mother: KidAge

    So you actually are reading the Age (Text) from your brain (Input)

    Now click the "Input.GetText" action and click Next. Change the ResultVariable to Text (KidAge)



    Click Finish.

    9. Now we have 1 line of code
    Add a second line of the same action but this time for the Password input (Input3). It should look like this. DON'T COPY IT!



    10. Now we need the "Crypto" action to encrypt the text.
    Click "Add Action" again and select the "Crypto" action.



    We need the "BlowfishEncryptString" action, press Next.

    You will see: Text - "My Text"
    you can change My Text to any text, but thats not what we want!
    We got the text from the Input and we called the ResultVariable: Text
    So completely clear that box (Remove: "My Text") and type: Text
    Same story for Password.

    This action will return the Encrypted text, so we need to give this action a ResultVariable, I called it: Encrypted.



    11. Click Finish. Now we have 3 lines of code, WOW



    Now we got the 3 lines, but the user still doesn't get the encrypted text!
    We need to change the text from Input2 to the encrypted text.

    Click "Add Action" and click the Input action, we need to change the Input text so we are looking for: Input.SetText



    Now save the project (Ctrl + S) and do a preview by pressing F5



    First Input = Your text (type something here)
    Second Input = Output box (leave empty)
    Third Input = Password fiels (type your password here, but don't forget it!)

    There is your encrypted text!

    12. Your mission is to get the Decrypt button working, it's almost exactly the same but you need to change some things.

    THE ONLY ENCRYPT SOURCE: http://xdc.xcoderz.net/file.php?id=6
    THE ENCRYPT+DECRYPT SOURCE: http://xdc.xcoderz.net/file.php?id=7


    Give it a try and if you get stuck just post here below. (Please don't PM me, just reply here so other members can learn about it.)

    Enjoy & Cheerz,

    l0calh0st


    l0calh0st Reviewed by l0calh0st on . [AMS] How to make your own Encryption Tool [TUT] I wrote this tutorial because I was super bored today, also ofcourse to lean noobs some coding :) First of all, download AMS8 here: http://xcoderz.net/viewtopic.php?f=17&t=9 And install it lol. What are we going to code? We are going to make an very easy tool to encrypt/decrypt text with a password. Rating: 5

    Defendos BETA3 Released! Thread - Official Website

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    sbanime.com
    U love u dood
    thanks for the pm

  4.     
    #3
    Respected Developer
    Quote Originally Posted by l0calh0st View Post
    to lean noobs some coding
    Nice job with the tutorial but I fail to see how this:
    Code: 
    Text = Input.GetText("Input1");
    Password = Input.GetText("Input3");
    Encryped = Crypto.BlowfishEncryptString(Text, Password, 0);
    Will learn noobs anything . Would have been better if you wrote the algorithm instead of calling a build-in function. Furthermore those noobs will most likely be using a real development environment such as Visual Studio.

    Other than that good job .

  5.     
    #4
    Member
    Website's:
    bypassx.com
    AMS? ... what is AMS?

    Sorry for my ignorance... but curiosity is bigger than me.

  6.     
    #5
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    Read again and you will see that you will need autoplay media studio.

    Defendos BETA3 Released! Thread - Official Website

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can anyone make NexusDDl Firefox tool ?
    By Mohsin in forum Webmaster Discussion
    Replies: 3
    Last Post: 6th May 2011, 10:38 AM
  2. Which encryption is this?
    By WaReZ in forum Web Development Area
    Replies: 18
    Last Post: 17th Sep 2010, 07:03 PM
  3. [Buying] Anyone Can Make A Firefox Addon (Downloads submitter tool)
    By saninokia in forum Completed Transactions
    Replies: 0
    Last Post: 26th Aug 2010, 06:33 AM
  4. Encryption Center V2.0
    By Raven in forum Webmaster Resources
    Replies: 1
    Last Post: 21st Dec 2009, 07:39 PM
  5. What Encryption ?
    By MagicTallGuy in forum Technical Help Desk Support
    Replies: 0
    Last Post: 13th Nov 2009, 11:56 PM

Tags for this Thread

BE SOCIAL