Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!
>160Kbps mp3.
128 Kbps aac sound more than fine to my ears.
Luckily we have a 3 disc autoloader cd copier at work, I reverse-engineered the protocol on it and wrote a program to auto-load a stack of cd's and rip them in iTunes :) No user intervention required! :)
I got my 8gb nano last thursday, sound quality is much better than my 4G iPod.
As for ripping, rip to 128Kbps aac, it's far better than mp3. Don't transcode your files because they'll end up sounding nasty.
bored disco?! me too. ;)
int main(void)
{
int tuples[6];
int i, j,k,generating=TRUE;
for (i=0;i<6;i++)
tuples[i] = 100;
while(generating)
{
for (j=0,k=0;j<6;j++)
k += tuples[j];
if ( (k==4095) || ((k % 65)==0))
{...
disco, your mod is the wrong way round - Should be equal to zero as no remainder means it divisible by 65.
edit: ignore me, just noticed your loops are while not valid.....d'oh.
No pics as I'm at work. The wheel doesn't light up, but it's pretty cool - I've got a 3rd generation mono ipod, this ones a hell of a lot sweeter! Sounds a lot better too.
Do yourself a favour (and presumably the company you work for) and ditch that method of serial number generation! Poor!
It'll take you a long time to generate all possible serial numbers, that a large maximum value, 999-999-999-999-999-999 - but if you really want to do it, then something like...
Not in the application, the signing of the hash with the public key encryption gives a straight yes/no answer to whether the "license key" is valid.
When they type in the key, a hash is generated and compared against the hash in the "license key".
You'll need to store the "serial number hash"...
What information do you want the license key to hold?
look up md5 hashes and RSA encryption.
Basic idea is to create a hash of the license information, then use RSA or other public key encryption to sign it.