File manager - Edit - /home/autoph/public_html/projects/vendor/lcobucci/jwt/src/Signer/Rsa.php
Back
<?php declare(strict_types=1); namespace Lcobucci\JWT\Signer; use const OPENSSL_KEYTYPE_RSA; abstract class Rsa extends OpenSSL { final public function sign(string $payload, Key $key): string { return $this->createSignature($key->contents(), $key->passphrase(), $payload); } final public function verify(string $expected, string $payload, Key $key): bool { return $this->verifySignature($expected, $payload, $key->contents()); } final public function keyType(): int { return OPENSSL_KEYTYPE_RSA; } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings