Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
2 changed files with 87 additions and 81 deletions
Showing only changes of commit 830133d102 - Show all commits

View file

@ -1,14 +1,14 @@
<?php <?php
namespace Socialbox\Abstracts; namespace Socialbox\Abstracts;
use RuntimeException; use RuntimeException;
use Socialbox\Classes\CacheLayer\MemcachedCacheLayer; use Socialbox\Classes\CacheLayer\MemcachedCacheLayer;
use Socialbox\Classes\CacheLayer\RedisCacheLayer; use Socialbox\Classes\CacheLayer\RedisCacheLayer;
use Socialbox\Classes\Configuration; use Socialbox\Classes\Configuration;
abstract class CacheLayer abstract class CacheLayer
{ {
private static ?CacheLayer $instance = null; private static ?CacheLayer $instance = null;
/** /**
@ -87,4 +87,4 @@ abstract class CacheLayer
return self::$instance; return self::$instance;
} }
} }

View file

@ -127,6 +127,12 @@
return; return;
} }
} }
else
{
http_response_code(400);
print('External domains are not supported yet');
return;
}
try try
{ {