R
Romain TAILLANDIER
Hi group
My customer want me i crypt a 16 alphanumeric char in 8 byte of memory.
the format is :
AAA AAA AAA L NNN NNN
where the A are A-Z or 0-9
L are A-Z
N are 0-9
So i caculate the number of possibilities :
36^9 * 26 * 10^6 = 2,640,558,873,378,816,000,000
< 2^64
So i think it is possible.
but i can't lists all the possibilities. So i create some 'ASCII' specific
code :
the AlphaNum (36 possibilities) coded on 6 bits
Letters (26 possibilities) on 5 bits
Numbers (10 possibilities) on 4 bits
and finally i get 10 bytes ....
what ever i can do i can't get down under 9 bytes.
the only possibility is to list all the 2,640,. ..... ... possibility but it
is not realist.
any ideas ?
calculate an hashcode on the 16 alphanum code woud be save me ?
ROM
My customer want me i crypt a 16 alphanumeric char in 8 byte of memory.
the format is :
AAA AAA AAA L NNN NNN
where the A are A-Z or 0-9
L are A-Z
N are 0-9
So i caculate the number of possibilities :
36^9 * 26 * 10^6 = 2,640,558,873,378,816,000,000
< 2^64
So i think it is possible.
but i can't lists all the possibilities. So i create some 'ASCII' specific
code :
the AlphaNum (36 possibilities) coded on 6 bits
Letters (26 possibilities) on 5 bits
Numbers (10 possibilities) on 4 bits
and finally i get 10 bytes ....
what ever i can do i can't get down under 9 bytes.
the only possibility is to list all the 2,640,. ..... ... possibility but it
is not realist.
any ideas ?
calculate an hashcode on the 16 alphanum code woud be save me ?
ROM