Skip to content

Commit d5e4352

Browse files
authored
Add Ruby example to CSPRNG table
Since there are other Ruby and Rails examples throughout the doc, adding Ruby seemed appropriate here. Signed-off-by: Jason Frey <[email protected]>
1 parent ad25275 commit d5e4352

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

secure_software_development_fundamentals.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4477,6 +4477,11 @@ Here are some examples of how to call the predictable PRNG versus a cryptographi
44774477
<td>random</td>
44784478
<td>os.random</td>
44794479
</tr>
4480+
<tr>
4481+
<td>Ruby</td>
4482+
<td>rand (or Random.rand)</td>
4483+
<td>SecureRandom.rand</td>
4484+
</tr>
44804485
</table>
44814486

44824487

0 commit comments

Comments
 (0)