Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 49. Miscellaneous (MSC)
MSC02-J. Generate strong random numbers
Page Information
Title:
MSC02-J. Generate strong random numbers
Author:
Georgios Katsis
Nov 07, 2008
Last Changed by:
Jon O'Donnell
May 19, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/oTdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (1)
Page:
MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers
SEI CERT Oracle Coding Standard for Java (4)
Page:
MSC63-J. Ensure that SecureRandom is properly seeded
Page:
MSC03-J. Never hard code sensitive information
Page:
MSC01-J. Do not use an empty infinite loop
Page:
MSC62-J. Store passwords using a hash function
Hierarchy
Parent Page
Page:
Rule 49. Miscellaneous (MSC)
Labels
Global Labels (15)
prng
draft
cwe-311
android-applicable
android
crypto
rule
cwe-333
cwe-332
cwe-337
cwe-336
msc
analyzable
cwe-330
cwe-327
Recent Changes
Time
Editor
May 19, 2022 10:42
Jon O'Donnell
View Changes
Aug 06, 2021 09:12
Jon O'Donnell
View Changes
May 18, 2021 08:35
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Feb 26, 2021 09:55
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Page History
Outgoing Links
External Links (14)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/330.html
https://docs.oracle.com/javase/8/docs/api/java/security/Sec…
cwe.mitre.org/data/definitions/336.html
cwe.mitre.org/data/definitions/337.html
cwe.mitre.org/
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6969
file:///C:/Users/Carol/Downloads/bugDescriptions.html#DMI_R…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://docs.oracle.com/javase/8/docs/api/java/util/Random.…
cwe.mitre.org/data/definitions/332.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.sonarsource.com/products/codeanalyzers/sonarjav…
cwe.mitre.org/data/definitions/327.html
SEI CERT C++ Coding Standard (2)
Home page:
SEI CERT C++ Coding Standard
Page:
MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers
SEI CERT Oracle Coding Standard for Java (9)
Page:
CodeSonar_V
Page:
Parasoft
Page:
SonarQube
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
Rule BB. Glossary
Page:
Rule AA. References
Page:
Coverity
Page:
Parasoft_V
Page:
SonarQube_V
SEI CERT C Coding Standard (3)
Home page:
SEI CERT C Coding Standard
Page:
MSC30-C. Do not use the rand() function for generating pseudorandom numbers
Page:
CodeSonar
Overview
Content Tools
{"serverDuration": 93, "requestCorrelationId": "91dffcef82a30f48"}