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 4a37844920 - Show all commits

View file

@ -0,0 +1,26 @@
<?php
namespace Socialbox\Objects\Client;
use Socialbox\SocialClient;
class EncryptionChannelInstance
{
private SocialClient $client;
/**
* Public constructor
*
* @param SocialClient $client The client to use
* @param EncryptionChannelSecret $secret The secret to use
*/
public function __construct(SocialClient $client, EncryptionChannelSecret $secret)
{
$this->client = $client;
}
public function sendMessage(string $message): void
{
$this->client->sendMessage($message);
}
}