REPOST: Re: help ragarding licensing keys

From: Dave Howe (DaveHowe_at_hawkswing.d-mon.co.uk)
Date: 10/24/05


Date: Mon, 24 Oct 2005 17:47:38 +0100

parwal.sandeep@gmail.com wrote:
> hello all ,
>
> i have an algo to generate a random alphanumeric key ..
> i want to chk its randomness... so that no two keys are same and its
> not guessable.. is there any test or procedure for that
I believe you are following the wrong approach.
  Instead, consider your key to be a simple string plus a checksum. to generate
the checksum, take your simple string and add a secret fixed string, then hash.
the hash or a subset of it is your checksum, and original string plus checksum
is your key.
  If you are freed from the constraint that a key be typable (supplied via
email, say) then you can use something like pki, but again just use a simple
string (generation of which is trivial)

========= WAS CANCELLED BY =======:
Path: ...news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 24 Oct 2005 15:22:58 -0500
From: Dave Howe <DaveHowe@hawkswing.d-mon.co.uk>
Control: cancel <djj37a$rn8$1$8300dec7@news.demon.co.uk>
Subject: Cancel "Re: help ragarding licensing keys"
Newsgroups: de.alt.test,mn.test,sci.crypt
Date: Mon, 24 Oct 2005 18:23:06 GMT
Message-ID: <eea63d-ub6$6_3303dda3@news.demon.co.uk>
X-Newsposter: NNTP POWER-POST 2000 (Build 24c) - net-toys.8k.com
Lines: 2
NNTP-Posting-Host: 64.121.22.24
X-Trace: sv3-WmO3k94mZH/8+MVVHNdWCNL5ownqYbxEJJmFbwVUtUZGosqcNutFenkEc/JIp1RscBYpeGXNVOhluWW!PtHyCJMm9ufWEaZtgMoIpQTru3r6r0z/TS5xCb64dYB95UFLU2qmphpufJfvmAK2AXB7yzuHGQ==
X-Complaints-To: abuse@rcn.net
X-DMCA-Complaints-To: abuse@rcn.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32



Relevant Pages

  • REPOST: Re: help ragarding licensing keys
    ... > i have an algo to generate a random alphanumeric key .. ... consider your key to be a simple string plus a checksum. ... Subject: Cancel "Re: help ragarding licensing keys" ...
    (sci.crypt)
  • Re: help ragarding licensing keys
    ... > i have an algo to generate a random alphanumeric key .. ... consider your key to be a simple string plus a checksum. ... the checksum, take your simple string and add a secret fixed string, then hash. ...
    (sci.crypt)
  • Making a function available in all sheets
    ... Private BarTextOut As String ... Private CheckSum As String ... ' Fonts Inc bar codes. ...
    (microsoft.public.excel.programming)
  • Re: KRB5KRB_AP_ERR_MODIFIED: MIT Kerberos 1.8.1 & arcfour-hmac-md5 session key
    ... A string of zero length is different from an absent string. ... ramifications if an application genuinely wants to checksum the empty ... The RFC says of the checksum: ... then it makes sense to checksum the zero-length string. ...
    (comp.protocols.kerberos)
  • Re: Python for Reverse Engineering
    ... There are 31 characters in the encoding. ... 124 bits are needed to encode the full space because ... this scheme then there's no extra space for a checksum. ... can change based on the index in the string. ...
    (comp.lang.python)