Disable encryption

This commit is contained in:
naielv
2025-12-25 19:31:58 +01:00
parent ee219e1d96
commit fbf0a8c9e4
8 changed files with 3 additions and 8 deletions

View File

@@ -614,6 +614,9 @@ function TS_decrypt(input, secret, callback, table, id) {
}
}
function TS_encrypt(input, secret, callback, mode = "RSA") {
// Skip encryption
callback(input);
return;
// Encrypt given value for at-rest storage using CryptoJS AES.
// Always return string of form RSA{<ciphertext>} via callback.
try {