Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-25-2008, 09:42 PM
jwwest
Guest
 
Posts: n/a
Default Looking for Suggestions on Hash Key Creation

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

Reply With Quote
  #2 (permalink)  
Old 03-26-2008, 02:17 AM
Todd H.
Guest
 
Posts: n/a
Default Re: Looking for Suggestions on Hash Key Creation

jwwest <jwwest@gmail.com> writes:

> 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/

Reply With Quote
  #3 (permalink)  
Old 03-26-2008, 06:41 PM
John Mason Jr
Guest
 
Posts: n/a
Default Re: Looking for Suggestions on Hash Key Creation

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

Reply With Quote
  #4 (permalink)  
Old 03-26-2008, 09:02 PM
Unruh
Guest
 
Posts: n/a
Default Re: Looking for Suggestions on Hash Key Creation

John Mason Jr <notvalid@cox.net.invalid> writes:

>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.


Reply With Quote
  #5 (permalink)  
Old 03-27-2008, 09:05 PM
Chris Mattern
Guest
 
Posts: n/a
Default Re: Looking for Suggestions on Hash Key Creation

On 2008-03-25, jwwest <jwwest@gmail.com> 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.
>

You don't. Do it in your server. SSL. HTTPS. Get yourself a
signed certificate. Anything is playing with fire.

--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities

Reply With Quote
  #6 (permalink)  
Old 03-28-2008, 09:12 PM
jwwest
Guest
 
Posts: n/a
Default Re: Looking for Suggestions on Hash Key Creation


> You don't. Do it in your server. SSL. HTTPS. Get yourself a
> signed certificate. Anything is playing with fire.


I'm looking at encrypting data in the database, not the session.


Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miracles of God's Creation powersun.future@gmail.com alt.cellular.verizon 0 01-12-2008 08:28 PM
New - Most Comprehensive Online Reverse Hash Look-Up Database (MD5 and more) dustin.fineout comp.security.misc 0 02-18-2007 05:50 PM
HPSBUX02191 SSRT071302 rev.1 - HP-UX Running SLSd, Remote Unauthorized Arbitrary File Creation Security Alert comp.security.misc 0 02-14-2007 01:43 PM
Hash functions and streaming frank comp.security.misc 16 11-03-2005 08:46 PM
Cracking Md5 Hash Online Marco alt.computer.security 0 08-27-2005 02:36 PM


All times are GMT. The time now is 03:41 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45