aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorDavid Whitlock <[email protected]>2015-11-05 12:47:08 +0700
committerDavid Whitlock <[email protected]>2015-11-06 06:48:41 +0700
commitcdbe44920678d68a9936e1ab504bc1c8aad65847 (patch)
treee2a6b3ca59667486f6e3c6b355034e5746d39fc4 /lib/crypto
parent82393fda2f44841663b23c95879212f339a56474 (diff)
downloadotp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.gz
otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.bz2
otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.zip
Recommend against using crypto:rand_bytes
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/doc/src/crypto.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 291a5145e4..36ab329ff0 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -601,8 +601,11 @@
</type>
<desc>
<p>Generates N bytes randomly uniform 0..255, and returns the
- result in a binary. Uses the <c>crypto</c> library pseudo-random
- number generator.</p>
+ result in a binary. Uses the <c>crypto</c> library pseudo-random
+ number generator.</p>
+ <p>This function is not recommended for cryptographic purposes.
+ Please use <seealso marker="#strong_rand_bytes/1">
+ strong_rand_bytes/1</seealso> instead.</p>
</desc>
</func>