Files
provision_sccp/lib/Crypto/Crypto.php
Diederik de Groot 5064cb3e36 Adopted composer autoload way
Split up classes into separate way, to allow autoloader to do it's work

Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
2020-03-22 10:15:31 +01:00

13 lines
278 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);
}
}