All key and messages are set SensitiveParameter type On end, unset the key parameter with sodium mem zero Get/Compare key set methods Additional check on empty key Add missing sodium mem zero for inner function variable clean up
Can be used as a class with central key set. for old static calls: encrypt -> encryptKey decrypt -> decryptKey