Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Implement RandomData on javacard

JavaCard Applet Development Related Questions and Answers.
Sajaki
Posts: 11
Joined: Tue Jan 05, 2016 4:51 am
Points :106
Contact:

Implement RandomData on javacard

Post by Sajaki » Fri Jan 15, 2016 5:55 am

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!

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Implement RandomData on javacard

Post by UNKNwYSHSA » Wed Jan 20, 2016 5:46 am

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?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 41 guests

JavaCard OS : Disclaimer