MCPcopy
hub / github.com/tulios/kafkajs / secureRandom

Function secureRandom

scripts/waitForKafka.js:6–6  ·  view source on GitHub ↗
(length = 10)

Source from the content-addressed store, hash-verified

4const crypto = require('crypto')
5
6const secureRandom = (length = 10) => crypto.randomBytes(length).toString('hex')
7
8const findContainerId = node => {
9 const cmd = `

Calls 1

toStringMethod · 0.80

Tested by 6

testProduceMessagesFunction · 0.40
produceDataFunction · 0.40
createHeaderFunction · 0.40
createTopicDataFunction · 0.40
addPartitionsToTxnFunction · 0.40
sendMessagesFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…