Skip to content

Conversation

@martin-g
Copy link
Member

  1. Lazy load DefaultSecureRandomSupplier in SecuritySettings.java
  2. Lazy load SecureRandom.getInstance("SHA1PRNG") in DefaultSecureRandomSupplier.java

1. Lazy load DefaultSecureRandomSupplier in SecuritySettings.java
2. Lazy load `SecureRandom.getInstance("SHA1PRNG")` in
DefaultSecureRandomSupplier.java
Copy link
Contributor

@papegaaij papegaaij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this makes sense. We can't assume the default is always available, so we should init only when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants