cryptobiu / libscapi

Comprehensive Open Source Library for Secure Multiparty Computation
MIT License
180 stars 66 forks source link

Fix bug: added ':' in function toString in class IVCiphertext #65

Closed Ruth1993 closed 5 years ago

Ruth1993 commented 5 years ago

Hi,

I fixed the following error:

In class IVCiphertext (PlainText.hpp), in the function initFromString(), the ciphertext and the IV are fetched from a string which should include a ':' to separate the two. However, in function toString(), the ciphertext and IV are concatenated without a ':' to separate them, so I added that.