Huelse / HEAAN-Python

HEAAN lib binds for Python
MIT License
32 stars 7 forks source link

Is there any way to check the contents of cipher1 in "test.py"? #4

Closed JiihwanKim closed 2 years ago

JiihwanKim commented 3 years ago

I've tried the possible functions in this package, but I can't find a way. Please let me know how I can access the value of the ciphertext.

JiihwanKim commented 2 years ago

In HEAAN's original source code, the ciphertext is a class with ax and bx values. So for the ciphertext "cipher", HEAAN can get the value from "cipher.ax" (or "cipher.bx"). However, I found that this doesn't work the same way in HEAAN-Python.