Jump to content
Sign in to follow this  
Con

Encrypting an value from inputbox

Recommended Posts

Con

Hey guys i was just wondering how can i encrypt a string that i want to write in a ini file

so i want an inputbox to appear and then you write your name then the script would write it encrypted to a ini. Then be able to read the encrypted name and decrypt it.

the encryption would be like A=1 b=2 c=3 ect.

thanx in advance.


Hello?

Share this post


Link to post
Share on other sites
JustinReno

_StringEncrypt() Look it up in the help file.

Share this post


Link to post
Share on other sites
Generator

#include <String.au3>
IniWrite("Setting.ini","User Information","Password"_StringEncrypt(1,InputBox("Security Check", "Enter your password.", "", "*"),"encryptpassword",1))

Share this post


Link to post
Share on other sites
Valuater

Just missing 1 comma

"Password",_StringEncrypt(...

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Generator

Just missing 1 comma

"Password",_StringEncrypt(...

8)

Good catch :P

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.