Files
ZeroEcho/lib
Leo Galambos 4da4547a46 fix: defensively copy secret and encapsulation before destroy()
SecretWithEncapsulation may zeroize internal buffers on destroy().
Create defensive copies of the shared secret and ciphertext using
Arrays.copyOf() before destroying the result object to ensure stable
output.

No cryptographic behavior changes; fixes a potential lifecycle bug.

Signed-off-by: Leo Galambos <lg@hq.egothor.org>
2025-12-24 23:39:32 +01:00
..
2025-09-16 23:14:24 +02:00
2025-09-16 23:14:24 +02:00
2025-09-16 23:14:24 +02:00
2025-09-16 23:14:24 +02:00