zelles Posted November 30, 2014 Share Posted November 30, 2014 (edited) I have a have a simple gui to encrypt/decrypt files and data with a combobox to choose the algorythem and you can set a custom key. On the ecryption output I want to be able to display it as text in a edit feild, but the it shows it all distorted with symbols. I tried adding BinaryToString() but didn't change it. Any way I can get the encryption output to show in readable text and still be able to decrypt it after? If someone can give me a one-liner exmaple or just link to a function. I'd greatly appreciate it. Solved: I figured it out. After encrypting I had it running BinaryToString() on the output data. I removed BinaryToString() from the encrypted data and it worked fine. Edited November 30, 2014 by zelles Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 1, 2014 Moderators Share Posted December 1, 2014 Binary to string converts it, try StringToBinary, you'll get a hex display of each character. Keep in mind, that some of the encrypted characters are going to be non-printable, which is why you need to convert it to the hex display. 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. Link to comment Share on other sites More sharing options...
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