Files
provision_sccp/lib/Crypto/Crypto.php
Diederik de Groot bc1b251248 Small fixes/cleanup
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-04-07 12:54:51 +02:00

14 lines
281 B
PHP

<?php
declare(strict_types=1);
namespace PROVISION\Crypto;
class Crypto {
public static function certificateHashAsBase64(string $certificateFile, int $hashAlg) : string {
return new Certificate($certificateFile)
.hashAsBase64($hashAlg);
}
}
?>