aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-11-20 10:02:41 +0100
committerZandra <[email protected]>2015-11-20 10:02:41 +0100
commitabaa4d89bd6e012ce50f21278c9bbcfc6a553b0c (patch)
treebba3c14ee9faf12cf5212aed8b9d58cbbc47bff4 /lib/ssh
parente4163490d46b89f28cc8331cf846a576e1bc12de (diff)
parentb5e4c4533ed5e407804b825ecab65164161a0060 (diff)
downloadotp-abaa4d89bd6e012ce50f21278c9bbcfc6a553b0c.tar.gz
otp-abaa4d89bd6e012ce50f21278c9bbcfc6a553b0c.tar.bz2
otp-abaa4d89bd6e012ce50f21278c9bbcfc6a553b0c.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/doc/src/using_ssh.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/doc/src/using_ssh.xml b/lib/ssh/doc/src/using_ssh.xml
index 2d045fdb60..6826f20fb3 100644
--- a/lib/ssh/doc/src/using_ssh.xml
+++ b/lib/ssh/doc/src/using_ssh.xml
@@ -252,7 +252,7 @@
<code type="erl">
%% First three parameters depending on which crypto type we select:
Key = &lt;&lt;"This is a 256 bit key. abcdefghi">>,
-Ivec0 = crypto:rand_bytes(16),
+Ivec0 = crypto:strong_rand_bytes(16),
DataSize = 1024, % DataSize rem 16 = 0 for aes_cbc
%% Initialization of the CryptoState, in this case it is the Ivector.