Modify TS_encrypt to skip callback execution
Commented out callback and return statements in TS_encrypt function.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user