# Data Leak in python wrapper

**URL:** <https://openfhe.discourse.group/t/data-leak-in-python-wrapper/1527>\
**Category:** OpenFHE ports/wrappers\
**Created:** [September 2, 2024, 5:36pm UTC](https://openfhe.discourse.group/t/data-leak-in-python-wrapper/1527 "2024-09-02T17:36:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuriusStep](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@JuriusStep](https://openfhe.discourse.group/u/JuriusStep)\
**Post date:** [September 2, 2024, 5:36pm UTC](https://openfhe.discourse.group/t/data-leak-in-python-wrapper/1527/1 "2024-09-02T17:36:24Z")

</div>

By examples: simple-real-numbers-serial.py  
key-rot grows to 2.6GB, if i changed:  
multDepth = 20;  
scaleModSize = 50;  
batchSize = 16;

In c++ Develop is it about 356MB

Key\_mult in wrapper and main development get also different size

---

<div class="post-metadata">

**Author:** ![dsuponitskiy-duality](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dsuponitskiy-duality](https://openfhe.discourse.group/u/dsuponitskiy-duality)\
**Post date:** [September 11, 2024, 1:37pm UTC](https://openfhe.discourse.group/t/data-leak-in-python-wrapper/1527/3 "2024-09-11T13:37:27Z")

</div>

@JuriusStep I changed the parameters according to your instructions and ran simple-real-numbers-serial.py. It created key\_rot.txt with the size of 365Mb instead of 2.6Gb. Could there be something missing in your instructions?
