Bug fix [ 1722049 ] Column encryption not working on String

This commit is contained in:
Carlos Ruiz 2007-05-20 06:26:13 +00:00
parent ec2b1c66f5
commit 4165e9ce5e
1 changed files with 4 additions and 0 deletions

View File

@ -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