Implement a secure random as suggested by @KenanSulayman in issue #7