7e69ddc9e7
Add a simple test case that minimally uses the module. Add haveged to the target to generate enough entropy so pynacl -> libsodium don't hang waiting for /dev/random. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 lines
49 B
Python
4 lines
49 B
Python
import nacl.utils
|
|
|
|
nonce = nacl.utils.random(16)
|