aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorDavid Whitlock <alovedalongthe@gmail.com>2015-11-05 12:47:08 +0700
committerDavid Whitlock <alovedalongthe@gmail.com>2015-11-06 06:48:41 +0700
commitcdbe44920678d68a9936e1ab504bc1c8aad65847 (patch)
treee2a6b3ca59667486f6e3c6b355034e5746d39fc4 /lib/stdlib/doc
parent82393fda2f44841663b23c95879212f339a56474 (diff)
downloadotp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.gz
otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.bz2
otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.zip
Recommend against using crypto:rand_bytes
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/rand.xml2
-rw-r--r--lib/stdlib/doc/src/random.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/rand.xml b/lib/stdlib/doc/src/rand.xml
index e7d4728ef7..50057259c6 100644
--- a/lib/stdlib/doc/src/rand.xml
+++ b/lib/stdlib/doc/src/rand.xml
@@ -104,7 +104,7 @@
strong. If a strong cryptographic random number generator is
needed, use one of functions in the
<seealso marker="crypto:crypto">crypto</seealso>
- module, for example <c>crypto:rand_bytes/1</c>.</p></note>
+ module, for example <c>crypto:strong_rand_bytes/1</c>.</p></note>
</description>
<datatypes>
<datatype>
diff --git a/lib/stdlib/doc/src/random.xml b/lib/stdlib/doc/src/random.xml
index 91a4012ce9..f6f9e56966 100644
--- a/lib/stdlib/doc/src/random.xml
+++ b/lib/stdlib/doc/src/random.xml
@@ -48,7 +48,7 @@
tuple of three integers.</p>
<p>It should be noted that this random number generator is not cryptographically
strong. If a strong cryptographic random number generator is needed for
- example <c>crypto:rand_bytes/1</c> could be used instead.</p>
+ example <c>crypto:strong_rand_bytes/1</c> could be used instead.</p>
<note><p>The new and improved <seealso
marker="stdlib:rand">rand</seealso> module should be used
instead of this module.</p></note>