Results 1 to 5 of 5
-
30th Jul 2010, 04:22 PM #1OPMemberWebsite's:
Elite.SO Defendos.com Motionite.com[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
-
2nd Aug 2010, 03:26 PM #2BannedWebsite's:
sbanime.comU love u dood
thanks for the pm
-
2nd Aug 2010, 04:03 PM #3Respected Developer
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);
Other than that good job .
-
5th Aug 2010, 10:53 PM #4MemberWebsite's:
bypassx.comAMS? ... what is AMS?
Sorry for my ignorance... but curiosity is bigger than me.
-
6th Aug 2010, 05:38 AM #5OPMemberWebsite's:
Elite.SO Defendos.com Motionite.comRead again and you will see that you will need autoplay media studio.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Can anyone make NexusDDl Firefox tool ?
By Mohsin in forum Webmaster DiscussionReplies: 3Last Post: 6th May 2011, 10:38 AM -
Which encryption is this?
By WaReZ in forum Web Development AreaReplies: 18Last Post: 17th Sep 2010, 07:03 PM -
[Buying] Anyone Can Make A Firefox Addon (Downloads submitter tool)
By saninokia in forum Completed TransactionsReplies: 0Last Post: 26th Aug 2010, 06:33 AM -
Encryption Center V2.0
By Raven in forum Webmaster ResourcesReplies: 1Last Post: 21st Dec 2009, 07:39 PM -
What Encryption ?
By MagicTallGuy in forum Technical Help Desk SupportReplies: 0Last Post: 13th Nov 2009, 11:56 PM
themaCreator - create posts from...
Version 3.23 released. Open older version (or...