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

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit a934049ea5 - Show all commits

View file

@ -1,19 +1,19 @@
<?php <?php
namespace Socialbox\Managers; namespace Socialbox\Managers;
use DateTime; use DateTime;
use PDOException; use PDOException;
use Socialbox\Classes\Database; use Socialbox\Classes\Database;
use Socialbox\Classes\Logger; use Socialbox\Classes\Logger;
use Socialbox\Classes\Utilities; use Socialbox\Classes\Utilities;
use Socialbox\Enums\Status\CaptchaStatus; use Socialbox\Enums\Status\CaptchaStatus;
use Socialbox\Exceptions\DatabaseOperationException; use Socialbox\Exceptions\DatabaseOperationException;
use Socialbox\Objects\Database\CaptchaRecord; use Socialbox\Objects\Database\CaptchaRecord;
use Socialbox\Objects\Database\PeerRecord; use Socialbox\Objects\Database\PeerRecord;
class CaptchaManager class CaptchaManager
{ {
/** /**
* Creates a new captcha for the given peer UUID. * Creates a new captcha for the given peer UUID.
* *
@ -194,4 +194,4 @@ class CaptchaManager
return $result > 0; return $result > 0;
} }
} }