instances added god may help
This commit is contained in:
23
lib/Service/Auth/AuthCryptoGateway.php
Normal file
23
lib/Service/Auth/AuthCryptoGateway.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Service\Auth;
|
||||
|
||||
use MintyPHP\Support\Crypto;
|
||||
|
||||
class AuthCryptoGateway
|
||||
{
|
||||
public function isConfigured(): bool
|
||||
{
|
||||
return Crypto::isConfigured();
|
||||
}
|
||||
|
||||
public function encryptString(string $value): string
|
||||
{
|
||||
return Crypto::encryptString($value);
|
||||
}
|
||||
|
||||
public function decryptString(string $value): string
|
||||
{
|
||||
return Crypto::decryptString($value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user