moving magicsig.php to classes - to add storage
This commit is contained in:
parent
b67bb182b0
commit
cb32b676fa
|
@ -29,15 +29,7 @@
|
||||||
|
|
||||||
require_once 'Crypt/RSA.php';
|
require_once 'Crypt/RSA.php';
|
||||||
|
|
||||||
interface Magicsig
|
class Magicsig
|
||||||
{
|
|
||||||
|
|
||||||
public function sign($bytes);
|
|
||||||
|
|
||||||
public function verify($signed, $signature_b64);
|
|
||||||
}
|
|
||||||
|
|
||||||
class MagicsigRsaSha256
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public $keypair;
|
public $keypair;
|
Loading…
Reference in New Issue
Block a user