J
jwwest
I'm building a CGI eCommerce store and I'm looking for ways to create
a decent 2 way encryption. Of course in a scripted language, I don't
want my key in the script itself, but would rather store it somewhere
obfuscated such as in a compiled C++ binary. (I know it doesn't help -
much-, but defense in layers)
A .NET programmer friend of mine uses a method that involves
generating a hash from the Volume ID of the hard drive to use as a
key. I like this approach, but my target platform is Linux which does
not have volume IDs (as far as I know).
Are there any freely available C++ libraries that provide hard drive
information such as cylinders, sectors, etc on which I can make a
string to base my hash? Has anyone done something like this before and
could share some tips?
a decent 2 way encryption. Of course in a scripted language, I don't
want my key in the script itself, but would rather store it somewhere
obfuscated such as in a compiled C++ binary. (I know it doesn't help -
much-, but defense in layers)
A .NET programmer friend of mine uses a method that involves
generating a hash from the Volume ID of the hard drive to use as a
key. I like this approach, but my target platform is Linux which does
not have volume IDs (as far as I know).
Are there any freely available C++ libraries that provide hard drive
information such as cylinders, sectors, etc on which I can make a
string to base my hash? Has anyone done something like this before and
could share some tips?