@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | } |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $message |
|
24 | + */ |
|
22 | 25 | function sign($message) { |
23 | 26 | return base64_encode(hash_hmac('sha256', $message, base64_decode($this->password), true)); |
24 | 27 | } |