diff options
author | David Whitlock <[email protected]> | 2015-11-05 12:47:08 +0700 |
---|---|---|
committer | David Whitlock <[email protected]> | 2015-11-06 06:48:41 +0700 |
commit | cdbe44920678d68a9936e1ab504bc1c8aad65847 (patch) | |
tree | e2a6b3ca59667486f6e3c6b355034e5746d39fc4 /lib/crypto/doc | |
parent | 82393fda2f44841663b23c95879212f339a56474 (diff) | |
download | otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.gz otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.tar.bz2 otp-cdbe44920678d68a9936e1ab504bc1c8aad65847.zip |
Recommend against using crypto:rand_bytes
Diffstat (limited to 'lib/crypto/doc')
-rw-r--r-- | lib/crypto/doc/src/crypto.xml | 7 |
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> |