From cdbe44920678d68a9936e1ab504bc1c8aad65847 Mon Sep 17 00:00:00 2001
From: David Whitlock
Date: Thu, 5 Nov 2015 12:47:08 +0700
Subject: Recommend against using crypto:rand_bytes
---
lib/crypto/doc/src/crypto.xml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'lib/crypto')
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 @@
Generates N bytes randomly uniform 0..255, and returns the
- result in a binary. Uses the crypto library pseudo-random
- number generator.
+ result in a binary. Uses the crypto library pseudo-random
+ number generator.
+ This function is not recommended for cryptographic purposes.
+ Please use
+ strong_rand_bytes/1 instead.
--
cgit v1.2.3