Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 162 additions and 162 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue