diff options
author | Zandra <[email protected]> | 2015-11-20 10:01:48 +0100 |
---|---|---|
committer | Zandra <[email protected]> | 2015-11-20 10:01:48 +0100 |
commit | b5e4c4533ed5e407804b825ecab65164161a0060 (patch) | |
tree | cd7c49ac1f35d06580518ea2e46f98071584e6b2 /lib/ssh | |
parent | 17f94df030a237743df2eaf7415de14a35d9179e (diff) | |
parent | cdbe44920678d68a9936e1ab504bc1c8aad65847 (diff) | |
download | otp-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/ssh')
-rw-r--r-- | lib/ssh/doc/src/using_ssh.xml | 2 |
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 = <<"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. |