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>