I have applied AE on a SQL Server database at column with datatype of numeric(18,0)
. When I encrypt the data using SSMS the encryption of 154
is
0x01FA3FADE537BB5405E193F859FEDFBBC15C8177AB22F11B139AAB05158F685A29AED638E828BA43457C58668DC05D3DEC8612C28E7221F31BE8E4B291A1408972F186E456038E1041F376370147BCBB54
and I push 154
using JDBC Driver the encryption is
0x01D33F20C4A164160862CDD161305016053C166D4474FD21DA216C353049A8BEFC3EFE177E8FE7CD74E3BC7343D2EC51F7A8DECBD5C31E2F969A0A75D20EFCD7BC4AE0B59708971CF8EAC8C0A450ADA450
I am using a deterministic algorithm.
Because of this I am not able to apply where clause using JDBC. It return only those row which were pushed using JDBC after encryption.
Is there something I can fix to match both the encrypted values?