sodiumpp icon indicating copy to clipboard operation
sodiumpp copied to clipboard

C++ wrappers around the cryptography library libsodium and high level API

Results 6 sodiumpp issues
Sort by recently updated
recently updated
newest added

When looking through the design of sodiumpp, I'm curious of the choice of std:string. I would have thought that the more natural format for binary data (or UTF-8 encoded text),...

If we pass a huge string m, with m.size() almost the maximum size (maximum value of size_t), then calculations will overflow e.g. in ``` size_t mlen = m.size() + crypto_box_ZEROBYTES;...

Boxer/unboxer can now work with a secret preshared key, instead of my privkey + his pubkey. Done as other constructor. Needed to move stuff to a base class so it's...

In cases like below, we first write the secret data into variable k (in initialization list), and after that we lock this memory location. This means that for a short...

There need to be more tests for: - [ ] NaCl C++ wrappers - [ ] boxer/unboxer - [ ] public/secret key classes - [x] nonce

enhancement

Except for key generation, there is no high level interface to signing yet.

enhancement