JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to create AES keys

JavaCard Applet Development Related Questions and Answers.
Gibson
Posts: 15
Joined: Wed Jul 13, 2016 2:18 am
Points :166
Contact:

How to create AES keys

Post by Gibson » Thu May 04, 2017 11:17 pm

Hey bro here,

Could some one guide me how to create AES keys on Java Card? I am a little confusing about this . Thanks.
Last edited by Gibson on Fri May 05, 2017 4:40 am, edited 1 time in total.

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: How to create AES keys

Post by mabel » Fri May 05, 2017 4:38 am

FYI

Code: Select all

AESKey key = (AESKey) KeyBuilder.buildKey(KeyBuilder.TYPE_AES,KeyBuilder.LENGTH_AES_128,false);

key.setKey(randomDataof128bitLength,(short)0);

Thelogan
Posts: 40
Joined: Thu Aug 20, 2015 4:48 am
Points :250
Contact:

Re: How to create AES keys

Post by Thelogan » Fri May 05, 2017 6:30 am

Please note that most javacard only support DES /3DES as symmetric cipher.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 64 guests

JavaCard OS : Disclaimer