Jump to content

_StringEncrypt and unique passwords


Recommended Posts

So I've got a script. It requires you enter your password for an external account. I want to save this information. Currently I have it saved in an INI file. I don't consider this secure. So i've been looking for a safer way to store this information. So I did some searching and found _stringencrypt and it looks like this might work for what I want to do.

However I'm having problems coming up with a way to generate a machine specific password. I was thinking maybe using mac address or cpu id or something like that to make a password, but then I figure I'd ask here and see if there is an easy way to do it that I'm just missing. I just need a password that I can generate that is always the same on one machine, but different between machines.

I hope I've explained this well enough for you to understand...

Link to comment
Share on other sites

As a sidenote, keep away from _StringEncrypt at any rate.

Prefer _Crypt* functions (see help) if you need any.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Read to see why.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

There has been many discussions on unique ways to identify stuff, just search "unique"

here's one on passwords

I saw that before I posted, I've reread it again, I'm probably pretty dumb, but I'm not entirely following the conversation. Encryption I can probably figure out with the help files and just messing about... what's really got my head spun around is coming up with a password... or key... or whatever... that is unique per machine. I'm sorry if I'm not explaining it right or if I'm just not getting it but that's why I'm here because I'm having problems understanding this one...

Link to comment
Share on other sites

Use part of the hardware configuration to create a unique password. Look at the to get an idea on how to pull this information. For example, use part of the serial number for the first part of the password, and a general password suffix for the rest of the password. Use the same part of the serial number across models or manufacturers, this information can be pulled as well.

Adam

Link to comment
Share on other sites

Use part of the hardware configuration to create a unique password. Look at the to get an idea on how to pull this information. For example, use part of the serial number for the first part of the password, and a general password suffix for the rest of the password. Use the same part of the serial number across models or manufacturers, this information can be pulled as well.

Adam

That should do it! thank you!
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...