aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-11-20 10:01:48 +0100
committerZandra <[email protected]>2015-11-20 10:01:48 +0100
commitb5e4c4533ed5e407804b825ecab65164161a0060 (patch)
treecd7c49ac1f35d06580518ea2e46f98071584e6b2 /lib/crypto
parent17f94df030a237743df2eaf7415de14a35d9179e (diff)
parentcdbe44920678d68a9936e1ab504bc1c8aad65847 (diff)
downloadotp-b5e4c4533ed5e407804b825ecab65164161a0060.tar.gz
otp-b5e4c4533ed5e407804b825ecab65164161a0060.tar.bz2
otp-b5e4c4533ed5e407804b825ecab65164161a0060.zip
Merge branch 'riverrun/maint' into maint
* riverrun/maint: 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 8d082bf3fe..563a090e98 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>