]> Cypherpunks repositories - gostls13.git/commit
math/rand: make the security warning clearer and more prominent
authorFilippo Valsorda <filippo@golang.org>
Thu, 15 Apr 2021 11:31:32 +0000 (13:31 +0200)
committerFilippo Valsorda <filippo@golang.org>
Fri, 23 Apr 2021 17:50:33 +0000 (17:50 +0000)
commitd2f96f2f75f6808362136dd1f20ae338e91aed81
tree854a1fe574363e4a6c82783c4b5ce6339b9fadfa
parent8c666697646bc820beb3725b3ff4a4cd5514bbe7
math/rand: make the security warning clearer and more prominent

It is still a common misconception that math/rand can be used for
security-sensitive work if seeded with crypto/rand
(lazyledger/lazyledger-core#270). It can not.

Change-Id: I8598c352d1750eabeada50be9976ab68cbb42cc0
Reviewed-on: https://go-review.googlesource.com/c/go/+/310350
Trust: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/math/rand/rand.go