Page 1 of 1

Implement RandomData on javacard

Posted: Fri Jan 15, 2016 5:55 am
by Sajaki
I want to know how to use javacard.security.Randomdata class.
Could you tell me how to implement the generateData and setseed methods of the RandomData class ? Thanks for any help!

Re: Implement RandomData on javacard

Posted: Wed Jan 20, 2016 5:46 am
by UNKNwYSHSA
1 Generate one RandomData instance first;
2 Set seed for the instance;
3 Use method GenerateData() to generate random bytes;

For this problem:
"Could you tell me how to implement the generateData and setseed methods of the RandomData class ?"
You want to implement these two methods?