Fix a potential call to an undefined function.
Fix failure on pseudoRandomBytes call, if enabled.
Fix a potential infinite loop.
Bump to version 0.1.3