terl / lazysodium-java

A Java implementation of the Libsodium crypto library. For the lazy dev.
https://github.com/terl/lazysodium-java/wiki
Mozilla Public License 2.0
134 stars 46 forks source link

Accept a JNA Pointer in place of a byte array for some low-level methods #119

Open Traderjoe95 opened 2 years ago

Traderjoe95 commented 2 years ago

Adds variants of sodium_memzero, sodium_mlock and sodium_munlock that accept a JNA Pointer instead of a byte array.