aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/doc/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-04-22 10:22:52 +0200
committerIngela Anderton Andin <[email protected]>2016-04-25 11:42:05 +0200
commitb0741885a4ce780b653b8ab723b1af9504f12748 (patch)
treefa4f04c84be7b159e87541efdf93ec1dc1fef9ef /lib/public_key/doc/src
parentf1db2eb29768eca2d7affdfd95753b477df05beb (diff)
downloadotp-b0741885a4ce780b653b8ab723b1af9504f12748.tar.gz
otp-b0741885a4ce780b653b8ab723b1af9504f12748.tar.bz2
otp-b0741885a4ce780b653b8ab723b1af9504f12748.zip
public_key: Remove use of crypto:rand_bytes/1
public_key use cases are cryptographical so use crypto:strong_rand_bytes/1 instead.
Diffstat (limited to 'lib/public_key/doc/src')
-rw-r--r--lib/public_key/doc/src/public_key.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml
index 6923066da7..04daee460f 100644
--- a/lib/public_key/doc/src/public_key.xml
+++ b/lib/public_key/doc/src/public_key.xml
@@ -118,7 +118,7 @@
<p><c> not_encrypted | cipher_info()}</c></p></item>
<tag><c>cipher_info() = </c></tag>
- <item><p><c>{"RC2-CBC" | "DES-CBC" | "DES-EDE3-CBC", crypto:rand_bytes(8)</c></p>
+ <item><p><c>{"RC2-CBC" | "DES-CBC" | "DES-EDE3-CBC", crypto:strong_rand_bytes(8)</c></p>
<p><c>| {#'PBEParameter{}, digest_type()} | #'PBES2-params'{}}</c></p>
</item>