public function testCompute()
{
$unencryptedValue = 'foobar';
openssl_sign($unencryptedValue, $encryptedValue, $this->key, OPENSSL_ALGO_SHA512);
$signature = $this->algorithm->sign($unencryptedValue, $this->key);
$this->assertSame($encryptedValue, $signature);
}