Home page logo

basics logo Security Basics mailing list archives

Re: hash function for creating an activation code
From: Shreyas Zare <shreyas () technitium com>
Date: Tue, 10 Nov 2009 00:36:50 +0530


You can simple use MD5 or SHA1. MD5 is faster than SHA1, but is less
secure, so if your app is not being deployed in large scale then use


On Mon, Nov 9, 2009 at 11:50 PM, Ali Asghar Toraby Parizy
<aliasghar.toraby () gmail com> wrote:
I want to create a license file for my program
I have created a function that extract unique hex number of each network
adapters of host computer
When activation wizard starts, this unique number has been sent to a server
as a request code. Now i need a hash function that mix this number with a
user name and return a new code as an activation code to user.
So please suggest a hash function
request code is a string like this:
and a user name may be "aliasghar.toraby () gmail com"
thanks for any help

("If at first you don't succeed; call it version 1.0")

Shreyas Zare
Co-Founder, Technitium
eMail: shreyas () technitium com

..::< The Technitium Team >::..
Visit us at www.technitium.com
Contact us at theteam () technitium com

Join Sci-Tech News group and get the latest science & technology news
in your inbox. Visit http://tech.groups.yahoo.com/group/sci-tech-news
to join.

Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]