[governance] 64-bit Unique IDs - Domain Names and Symbols

Jim Fleming JimFleming at ameritech.net
Sat Dec 24 08:01:50 EST 2005


One of the handy things about 64-bit addressing (or prefixes) is that you
can create unique
(non-colliding) values from what appear to be domain names, URLs, etc. One
way to do
that is with a 4-bit symbol set and a 5-bit symbol set. The 64 bits can be
mapped with 12
5-bit symbols (60 bits) and then on the right a 4-bit symbol, such as dot,
can be used.
That totals 64 bits. It will be a UNIque prefix if you have a name that is
already unique.
Names with HTTP:// on the left of course use up 7 valuable symbols. Names
that look like
e-mail addresses with the @, can also be mapped. The DOT appears in both
symbol sets.

[Note: Assuming you own a domain name or email address that fits, you do not
have to
pay TBLS $2,500 per year to support their regime for a UNIque 64-bit prefix.
Your $99 Xbox
and PC can join the .NET work for free, with a $50 one-time cost for a Uni.X
.NET Box.]


#define ALPHA4 ".01234567891!#$*?"
#define ALPHA5 ".ABCDEFGHIJKLMNOPQRSTUVWXYZ&-/:@"

/*
* Print a 64-bit field as 16 Alpha4 Symbols
*/

Domain_print16(a)
 U64 a;
{
 int i;
 int shift = 60;

 for(i=0; i<16; i++){
  printk("%c",alpha4map[(a>>shift)&0x0F]);
  shift -= 4;
 }
 printk("\n");
}

/*
* Print a 64-bit field as 12 Alpha5 Symbols
* followed by 1 Alpha4 Symbol
*/

Domain_print(a)
 U64 a;
{
 int i;
 int shift = 59;

 for(i=0; i<12; i++){
  printk("%c",alpha5map[(a>>shift)&0x1F]);
  shift -= 5;
 }
 printk("%c",alpha4map[a&0x0F]);
 printk("%c",'\n');
}

_______________________________________________
governance mailing list
governance at lists.cpsr.org
https://ssl.cpsr.org/mailman/listinfo/governance



More information about the Governance mailing list