# Java notes for Secure Code Review

## Interesting class

### SecureRandom

* [SecureRandom in oracle documentation](https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html)
* SecureRandom: Every instance of SecureRandom is created with an initial seed. It works as a base for providing random values and changes every time we generate a new value.

## Tools

I usually use codium I am not a huge fan of IDE lol\
So if you want smart navigation you can use codium (or visual studio code) along with the extention [Language Support for Java](https://open-vsx.org/extension/redhat/java)\
This way if you ctrl+click on function for example you will get to the function definition.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csbygb.gitbook.io/pentips/secure-code-review/java-code-review.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
