libsodium_wasm_experimental/multiplatform-crypto-api
Renee Vandervelde 77445bb5cf
Fix Equality Check in XChaCha20EncryptionResult
The `XChaCha20EncryptionResult` data class currently implements
its own equality check due to the class's byte array members.
However, this is using a standard equality check, `==`, rather
than checking the array's contents. This will cause two results
with the same contained values to return `false` on an equals check.

Confirmed this issue with a unit test, and fixed by changing the
implemented method to use `contentEquals` instead.
2024-06-14 21:11:29 -05:00
..
2023-09-23 12:40:09 +02:00
2021-09-23 19:20:57 +02:00

This is just used to get kotlin to download appropriate konan tools.