#golang math/random should work the same as crypto/random if no seed has been given. It being deterministic, but having the same interface as crypto/random is a recipe for failure. Especially with imports now being automatically managed by IDEs, not by developers.
What does the following line do: “http://rand.Read (k[:])”? Is it secure or completely insecure? There’s no way to tell. It depends on the imports.
-
-
I guess if you are using the global read function, but I generally avoid that, instead using the appropriate io.Reader/rand.Rand values.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.