You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using dgk_encrypt and dgk_decrypt on unsigned long integers, but the decrypted results are usually incorrect. I think I use the functions correctly. Here is the piece of code:
I am using dgk_encrypt and dgk_decrypt on unsigned long integers, but the decrypted results are usually incorrect. I think I use the functions correctly. Here is the piece of code:
(modulus_bit = 2048, length = 64 in dgk_keygen)
dgk_encrypt_crt(c1, pub_key, priv_key, data);
dgk_decrypt(decrypted, pub_key, priv_key, c1);
Any ideas on why variable data is not equal to decrypted after converting them to unsigned long int?
The text was updated successfully, but these errors were encountered: