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 3b55e550c5 - Show all commits

View file

@ -4,6 +4,7 @@ namespace Socialbox\Objects;
use InvalidArgumentException;
use ncc\ThirdParty\nikic\PhpParser\Node\Expr\BinaryOp\BooleanOr;
use Socialbox\Classes\Logger;
use Socialbox\Enums\StandardError;
use Socialbox\Exceptions\RpcException;
use Socialbox\Exceptions\StandardException;
@ -130,6 +131,7 @@ class RpcRequest implements SerializableInterface
throw new InvalidArgumentException('The \'$result\' property must either be string, boolean, integer, array, null or SerializableInterface');
}
Logger::getLogger()->verbose(sprintf('Producing response for request %s', $this->id));
return new RpcResponse($this->id, $result);
}