X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=spec%2Fzot-2012.txt;h=3d939bab73653c7b95d13a82d84885a2c95ecde2;hb=ed7bada71eb7e5d1c2953e94abb47b531781306d;hp=2e1f3c3c49d1452278eb16e1d48aad7ef9a446c1;hpb=d20cdf09eafbc57c1b6dbcb78a5cdaa731ae876d;p=friendica.git diff --git a/spec/zot-2012.txt b/spec/zot-2012.txt index 2e1f3c3c49..3d939bab73 100644 --- a/spec/zot-2012.txt +++ b/spec/zot-2012.txt @@ -11,12 +11,12 @@ First create a global unique userid Site userid: https://macgirvin.com/1 -$guuid = base64url_encode(hash('whirlpool','https://macgirvin.com/1.' . mt_rand(1000000,9999999),1); +$guuid = Strings::base64UrlEncode(hash('whirlpool','https://macgirvin.com/1.' . mt_rand(1000000,9999999),1); Then create a hashed site destination. -$gduid = base64url_encode(hash('whirlpool', $guuid . 'https://macgirvin.com',1); +$gduid = Strings::base64UrlEncode(hash('whirlpool', $guuid . 'https://macgirvin.com',1); These two keys will identify you as a person+site pair in the future. You will also obtain a password upon introducing yourself to a site.