Closed ionspin closed 4 years ago
Signature for randombytes_random and randombytes_uniform is uint32 in libsodium but in lazysodium it's byte. This pull request fixes that.
I used long as return type, because the libsodium function return unsigned int.
Fixes #86
Another fantastic spot, merged!
Signature for randombytes_random and randombytes_uniform is uint32 in libsodium but in lazysodium it's byte. This pull request fixes that.
I used long as return type, because the libsodium function return unsigned int.
Fixes #86