Split up classes into separate way, to allow autoloader to do it's work Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
13 lines
278 B
PHP
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);
|
|
}
|
|
}
|