From: Mikael Nordfeldth Date: Mon, 2 Jun 2014 12:51:15 +0000 (+0200) Subject: Clarify it's not base64, but base64url, encoding in Magicsig X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=00b2bddc7cbe5c809e4b8ec9e68d5e25b85aad08;p=quix0rs-gnu-social.git Clarify it's not base64, but base64url, encoding in Magicsig --- diff --git a/plugins/OStatus/classes/Magicsig.php b/plugins/OStatus/classes/Magicsig.php index 2b131a73db..0867d1ba6e 100644 --- a/plugins/OStatus/classes/Magicsig.php +++ b/plugins/OStatus/classes/Magicsig.php @@ -282,7 +282,7 @@ class Magicsig extends Managed_DataObject * using our private key. * * @param string $bytes as raw byte string - * @return string base64-encoded signature + * @return string base64url-encoded signature */ public function sign($bytes) { @@ -296,7 +296,7 @@ class Magicsig extends Managed_DataObject /** * * @param string $signed_bytes as raw byte string - * @param string $signature as base64 + * @param string $signature as base64url encoded * @return boolean */ public function verify($signed_bytes, $signature)