mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
commit miss from r43573
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc31909366
commit
d24903f063
1 changed files with 8 additions and 8 deletions
|
@ -37,7 +37,7 @@ module SecureRandom
|
||||||
#
|
#
|
||||||
# The argument _n_ specifies the length of the result string.
|
# The argument _n_ specifies the length of the result string.
|
||||||
#
|
#
|
||||||
# If _n_ is not specified, 16 is assumed.
|
# If _n_ is not specified or is nil, 16 is assumed.
|
||||||
# It may be larger in future.
|
# It may be larger in future.
|
||||||
#
|
#
|
||||||
# The result may contain any byte: "\x00" - "\xff".
|
# The result may contain any byte: "\x00" - "\xff".
|
||||||
|
@ -121,7 +121,7 @@ module SecureRandom
|
||||||
# The argument _n_ specifies the length, in bytes, of the random number to be generated.
|
# The argument _n_ specifies the length, in bytes, of the random number to be generated.
|
||||||
# The length of the resulting hexadecimal string is twice _n_.
|
# The length of the resulting hexadecimal string is twice _n_.
|
||||||
#
|
#
|
||||||
# If _n_ is not specified, 16 is assumed.
|
# If _n_ is not specified or is nil, 16 is assumed.
|
||||||
# It may be larger in future.
|
# It may be larger in future.
|
||||||
#
|
#
|
||||||
# The result may contain 0-9 and a-f.
|
# The result may contain 0-9 and a-f.
|
||||||
|
@ -137,10 +137,10 @@ module SecureRandom
|
||||||
|
|
||||||
# SecureRandom.base64 generates a random base64 string.
|
# SecureRandom.base64 generates a random base64 string.
|
||||||
#
|
#
|
||||||
# The argument _n_ specifies the length of the random length.
|
# The argument _n_ specifies the length, in bytes, of the random number
|
||||||
# The length of the result string is about 4/3 of _n_.
|
# to be generated. The length of the result string is about 4/3 of _n_.
|
||||||
#
|
#
|
||||||
# If _n_ is not specified, 16 is assumed.
|
# If _n_ is not specified or is nil, 16 is assumed.
|
||||||
# It may be larger in future.
|
# It may be larger in future.
|
||||||
#
|
#
|
||||||
# The result may contain A-Z, a-z, 0-9, "+", "/" and "=".
|
# The result may contain A-Z, a-z, 0-9, "+", "/" and "=".
|
||||||
|
@ -158,10 +158,10 @@ module SecureRandom
|
||||||
|
|
||||||
# SecureRandom.urlsafe_base64 generates a random URL-safe base64 string.
|
# SecureRandom.urlsafe_base64 generates a random URL-safe base64 string.
|
||||||
#
|
#
|
||||||
# The argument _n_ specifies the length of the random length.
|
# The argument _n_ specifies the length, in bytes, of the random number
|
||||||
# The length of the result string is about 4/3 of _n_.
|
# to be generated. The length of the result string is about 4/3 of _n_.
|
||||||
#
|
#
|
||||||
# If _n_ is not specified, 16 is assumed.
|
# If _n_ is not specified or is nil, 16 is assumed.
|
||||||
# It may be larger in future.
|
# It may be larger in future.
|
||||||
#
|
#
|
||||||
# The boolean argument _padding_ specifies the padding.
|
# The boolean argument _padding_ specifies the padding.
|
||||||
|
|
Loading…
Reference in a new issue