|
@@ -95,7 +95,7 @@ if (isset($_SESSION['id'])) {
|
|
|
output(403, 'The display username decryption key has not been sent.');
|
|
|
$decryption_result = htmlspecialchars(sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(
|
|
|
$_SESSION['display-username-cyphertext'],
|
|
|
- NULL,
|
|
|
+ '',
|
|
|
$_SESSION['display-username-nonce'],
|
|
|
base64_decode($_COOKIE['display-username-decryption-key'])
|
|
|
));
|