licel / jcardsim

https://jcardsim.org
223 stars 123 forks source link

Make SecureRandom securely random #141

Closed kategray closed 2 years ago

kategray commented 5 years ago

Updated implementation to use java's SecureRandom implementation. The current PRNG will return the same value on every run, which breaks unit tests that test for randomness, and makes it unsuitable for virtualization of applets in non-test environments.

Fix for #139

kategray commented 2 years ago

Due to the lack of development on JCardSim, I'm switching to ph4r05/jcardsim.

As his PR solves the same problem as my pull request, in a configurable way, I'm going to go ahead and close my pull request.