remove deprecated sjcl library and references

This commit is contained in:
Mario
2025-11-07 12:39:58 +00:00
parent 831f4324ae
commit a99e067b91
4 changed files with 0 additions and 184 deletions

View File

@@ -278,11 +278,6 @@ function bb_parse_crypt($match) {
$onclick = 'onclick="sodium_decrypt(\'' . $payload . '\',\'#' . $x . '\');"';
if (in_array($algorithm, ['AES-128-CCM', 'rot13', 'triple-rot13'])) {
// backwards compatibility
$onclick = 'onclick="hz_decrypt(\'' . $algorithm . '\',\'' . $hint . '\',\'' . $payload . '\',\'#' . $x . '\');"';
}
$label = t('Encrypted content');
$text = '<div id="' . $x . '" class="encrypted-content"><img class="cursor-pointer" src="' . z_root() . '/images/lock_icon.svg" ' . $onclick . ' alt="' . $label . '" title="' . $label . '" /></div>';