From 95f03648cbede2dce50fcc7cce42cc100faeed2e Mon Sep 17 00:00:00 2001 From: poing Date: Mon, 22 Jan 2024 18:46:23 +0900 Subject: [PATCH] Update the readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24bf429..cc06e11 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,9 @@ The `JavaScript` wrapper **is not** intended to allow subsequent commands. It s ```python from js2pysecrets import setRNG, random -setRNG('testRandom') +setRNG('testRandom') # Output: True + +# New subprocess defaults to 'nodeCryptoRandomBytes' RNG random(32) # Output: '24c177c8' random(32) # Output: '89535434' random(32) # Output: '306e0c23' @@ -44,7 +46,7 @@ random(32) # Output: '075bcd15' random(32) # Output: '075bcd15' ``` - +Additional commands **could** be added one a *case-by-case* basis, support is included in the wrapper. But the intention of the wrapper is mainly to assist testing of a full `Python` implementation and confirm `100%` compatibility with the `JavaScript` version. ## Examples