Bert Posted October 25, 2006 Posted October 25, 2006 Does anyone have a way to convert a binary string to text? I want to store my password to a program in a ini file, but I wanted to put it in a binary form so if someone looked at it, they most likely wouldn't know what it is. I was thinking of even splitting the password in 2 pieces to make it more secure. For example: If my password was autoit, the binary would be 01100001011101010111010001101111011010010111010000110011 I could split it so it would be like this: (ini listed first) [section] au = 0110000101110101 to = 0111010001101111 it3 = 011010010111010000110011 $a = $a = iniread("file", "section", "au", "") $b = iniread("file", "section", "to", "") $c = iniread("file", "section", "it3", "") $convert1 = _convertbinarytotext($a) $convert2 = _convertbinarytotext($B) $convert3 = _convertbinarytotext($c) msgbox(0, "password is:", $convert1 & $convert2 & $convert3) _convertbinarytotext is the function that would convert the binary to text. I searched thru the help file and the forum, but no luck. Any direction would be helpful The Vollatran project My blog: http://www.vollysinterestingshit.com/
FuryCell Posted October 25, 2006 Posted October 25, 2006 (edited) found this UDF but it it doesn't work properly. Perhaps it can give you ideas however. http://www.autoitscript.com/forum/index.php?showtopic=32257 Edited October 25, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Moderators SmOke_N Posted October 25, 2006 Moderators Posted October 25, 2006 http://www.autoitscript.com/forum/index.ph...st&p=211599 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Bert Posted October 25, 2006 Author Posted October 25, 2006 sweet! thanks! The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now