JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
3DES Encryption
Moderator: UNKNwYSHSA
3DES Encryption
In my work I need to send some encrypted sms message to server. And I want to use two keys burned in SIM and get them and then encrypt with 3DES 2 keys. Now my question is how to read the keys from sim? Any help? Thanks a bunch.
Re: 3DES Encryption
Firstly, you should know where are the keys located. Usually the keys are stored on EFs. Regarding which EFs and what access conditions, you should ask SIM card provider.
Re: 3DES Encryption
I would be surprised if they would give up their keys. What they might implement if they are using JavaCard is the RMI method with some API interface or set the Cipher (by the SIM card vendor) to enable sharing so that you can share the key's usage but you are unlikely to receive the actual key.
Approach whoever supplied the SIM card (or relevant authorities) whether they have some API or APDU calls.
Approach whoever supplied the SIM card (or relevant authorities) whether they have some API or APDU calls.
Re: 3DES Encryption
Do you have any sample code on this?
Re: 3DES Encryption
Sorry, I don't have any sample on 3DES. But you can refer to 3DES sample implemented on javacard.
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
Re: 3DES Encryption
https://javacardos.com/wiki/javacard-api-samples/des
check the above link, i hope it is useful for you for 3DES.
check the above link, i hope it is useful for you for 3DES.
Who is online
Users browsing this forum: Google [Bot] and 22 guests