Bug fix [ 1722049 ] Column encryption not working on String
This commit is contained in:
parent
ec2b1c66f5
commit
4165e9ce5e
|
@ -140,6 +140,8 @@ public class SecureEngine
|
|||
*/
|
||||
public static Object encrypt (Object value)
|
||||
{
|
||||
if (value instanceof String)
|
||||
return encrypt((String) value);
|
||||
return value;
|
||||
} // encrypt
|
||||
|
||||
|
@ -151,6 +153,8 @@ public class SecureEngine
|
|||
*/
|
||||
public static Object decrypt (Object value)
|
||||
{
|
||||
if (value instanceof String)
|
||||
return decrypt((String) value);
|
||||
return value;
|
||||
} // decrypt
|
||||
|
||||
|
|
Loading…
Reference in New Issue