Looking for Suggestions on Hash Key Creation

Looking for Suggestions on Hash Key Creation

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Looking for Suggestions on Hash Key Creation jwwest 03-25-2008
Posted by jwwest on March 25, 2008, 5:42 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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 am wary of hardware/software changes
that will break my key.

Am I going about this the correct way? Is there a better method for
creating a decently secure 2 way encryption using a scripted language?

Any help is very much appreciated. Thanks.

- James

Posted by Todd H. on March 25, 2008, 10:17 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

> 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 am wary of hardware/software changes
> that will break my key.
>
> Am I going about this the correct way? Is there a better method for
> creating a decently secure 2 way encryption using a scripted language?
>
> Any help is very much appreciated. Thanks.

The path to hell is paved with such intentions. :-)

You may get a lot of mileage out of the OWASP Guide to web
application security, specifically this chapter:
http://www.owasp.org/index.php/Cryptography

More generally
http://www.owasp.org/index.php/Guide_Table_of_Contents

Best Regards,
--
Todd H.
http://www.toddh.net/

Posted by Andy on March 26, 2008, 3:29 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Try pressing <Shift> + 3.

##########################

Posted by John Mason Jr on March 26, 2008, 2:41 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
jwwest wrote:
> 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 am wary of hardware/software changes
> that will break my key.
>
> Am I going about this the correct way? Is there a better method for
> creating a decently secure 2 way encryption using a scripted language?
>
> Any help is very much appreciated. Thanks.
>
> - James



<http://www.cacr.math.uwaterloo.ca/hac/>

John

Posted by Unruh on March 26, 2008, 5:02 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

>jwwest wrote:
>> 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 am wary of hardware/software changes
>> that will break my key.
>>
>> Am I going about this the correct way? Is there a better method for
>> creating a decently secure 2 way encryption using a scripted language?
>>
>> Any help is very much appreciated. Thanks.

Why are you trying to reinvent the wheel. Use ssh.
or ssl.


Similar ThreadsPosted
HPSBUX02191 SSRT071302 rev.1 - HP-UX Running SLSd, Remote Unauthorized Arbitrary File Creation February 14, 2007, 9:43 am
Suggestions for a simple "childproof" encryption January 5, 2005, 2:09 pm
CD for Internet Cafe..suggestions for Contents May 15, 2005, 4:24 pm
Suggestions for programmer considering career change? March 8, 2006, 8:47 pm
HPSBMA02098 SSRT5911 rev.1 - HP OpenView Network Node Manager (OV NNM) Remote Unauthorized Privileged Access, Arbitrary Command Execution, Arbitrary File Creation May 23, 2006, 8:28 am
which hash function is secure? May 28, 2005, 2:46 am
Hash functions and streaming October 24, 2005, 12:45 pm
New - Most Comprehensive Online Reverse Hash Look-Up Database (MD5 and more) February 18, 2007, 1:50 pm

The site map in XML format XML site map

Contact Us | Privacy Policy