mirror of
https://github.com/status-im/react-native-randombytes.git
synced 2026-08-31 02:51:17 +00:00
rm log statement
This commit is contained in:
@@ -40,7 +40,6 @@ export function randomBytes (length, cb) {
|
||||
let size = length
|
||||
let wordCount = Math.ceil(size * 0.25)
|
||||
let randomBytes = sjcl.random.randomWords(wordCount, 10)
|
||||
console.log(randomBytes)
|
||||
let hexString = sjcl.codec.hex.fromBits(randomBytes)
|
||||
hexString = hexString.substr(0, size * 2)
|
||||
return new Buffer(hexString, 'hex')
|
||||
|
||||
Reference in New Issue
Block a user