エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント2件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Module: SecureRandom (Ruby 1.9.3)
::base64 generates a random base64 string. The argument n specifies the length of the random leng... ::base64 generates a random base64 string. The argument n specifies the length of the random length. The length of the result string is about 4/3 of n. If n is not specified, 16 is assumed. It may be larger in future. The result may contain A-Z, a-z, 0-9, “+”, “/” and “=”. p SecureRandom.base64 #=> "/2BuBuLf3+WfSKyQbRcc/A==" p SecureRandom.base64 #=> "6BbW0pxO0YENxn38HMUbcQ==" If secure random num




2013/12/05 リンク