View Full Version : need help text to md5
Can someone please tell me how to make a little program
input text box > convert text to md5 and display?
Please help me, thank you
:huh
TimeSurfer
03-26-2008, 07:50 PM
here's a simple way of doing wat you ask.
1st create new blank project. Now add a paragraph object and an input object to the project. Right click on the newly created input object and select properties. Now under the script tab add the following code to the on key event for the input object.
if e_Key == 13 then
MD5output = Crypto.MD5DigestFromString(Input.GetText("Input1"));
Paragraph.SetText("Paragraph1", MD5output);
end
And thats it pretty simple.
TimeSurfer You a Leagend !!!
Thank you Very much, works great :yes
Sorry TimeSurfer 1 more quest,
how do i do opposite md5 to text and
how to select paragraph2 output text?
RizlaUK
03-26-2008, 08:54 PM
how do i do opposite md5 to text
you cant!!!
md5 is a one way thing
Thanks for reply RizlaUK
fine,
just please tell me how do i make the output paragraph text selectable?
ShadowUK
03-27-2008, 01:28 AM
You can't select paragraph text, I recommend using RichText Format if you want to do that.
ShadowUK
I have tried with Rich Text Format but bot working
here is the code
MD5output = Crypto.MD5DigestFromString(Input.GetText("Input1"));
Paragraph.SetText("Paragraph2", MD5output);
RichText.SetText("RichText1", MD5output);
TextFile.WriteFromString("c:\\\\text.txt", MD5output, false);
I have write to a text file but its ok.
how do u change this to RichTextFormat as you told?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.