메소드 | 설명 | |
---|---|---|
checkvalid ( string $s, string $m, string $pk ) : boolean | Validates a signature matches a given message | |
publickey ( string $sk ) : string | Generates the public key of a given private key | |
signature ( string $m, string $sk, string $pk ) : string | Signs a string with the private key |