On Sun, 19 Aug 2007 01:25:16 +0300, "Jassim Rahma"
<jr****@hotmail.comwrote:
>my CPU mac address is BFEBFBFF000006F6
and my software name is : shefa
is there any function or encryption way in C# to generate a 24 digits (alpha
numeric) from both CPu MAC address and software name?
How secure does this need to be?
Does it need to be reversible?
Your options include some or all of: Base64 encoding, a cryptographic
hash function, a cryptographic cypher.
Given that most cryptographic functions work on 128 bit (16 byte)
blocks then the Base64 encoding of a block will give you 24
characters,though it might contain "/" and will certainly contain "="
at the end.
rossum