parent
83d3183aa6
commit
c2f81f99c0
|
@ -20,7 +20,7 @@
|
|||
(byteArrayToHex (.digest sha-256)))
|
||||
|
||||
(defn gen-random-bytes [length cb]
|
||||
#_(.randomBytes random-bytes length (fn [& [err buf]]
|
||||
(.randomBytes random-bytes length (fn [& [err buf]]
|
||||
(if err
|
||||
(cb {:error err})
|
||||
(cb {:buffer buf})))))
|
||||
|
|
Loading…
Reference in New Issue