X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=spec%2Fzot-2012.txt;h=3d939bab73653c7b95d13a82d84885a2c95ecde2;hb=511a51b9a3a38d70a61f939a2ab577a773173a34;hp=2e1f3c3c49d1452278eb16e1d48aad7ef9a446c1;hpb=777830745f60359546195ae429deab50398fef0f;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.