Modify TS_encrypt to skip callback execution

Commented out callback and return statements in TS_encrypt function.
This commit is contained in:
Naiel
2026-01-04 20:17:07 +01:00
committed by GitHub
parent cb70222c04
commit cb61374582

View File

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