Commit 00b2bddc authored by mmn's avatar mmn

Clarify it's not base64, but base64url, encoding in Magicsig

parent 993ad003
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment