Search found 19 matches
- Mon Oct 16, 2017 5:41 am
- Forum: Questions & Answers
- Topic: SW_ILLEGAL_USE returned by cipher.dofinal()
- Replies: 3
- Views: 8584
Re: SW_ILLEGAL_USE returned by cipher.dofinal()
Many thanks for your help, Crawford. It saved my day.
- Mon Oct 16, 2017 2:14 am
- Forum: Questions & Answers
- Topic: SW_ILLEGAL_USE returned by cipher.dofinal()
- Replies: 3
- Views: 8584
SW_ILLEGAL_USE returned by cipher.dofinal()
I try to encrypt/decrypt with DES. I got an error SW_ILLEGAL_USE when calling decode() but it works fine for encode(). And I cannot find out where is the problem? Could anyone help me? Thanks. import javacard.framework.*; import javacard.security.*; import javacardx.crypto.*; public class MyApplet e...
- Fri Jun 30, 2017 4:07 am
- Forum: Questions & Answers
- Topic: RSA encryption problem
- Replies: 2
- Views: 7065
Re: RSA encryption problem
Sorry. I forgot to attach my code package rsaapplet; import javacard.framework.*; import javacard.security.*; import javacardx.crypto.Cipher; public class RSAApplet extends javacard.framework.Applet { // class of instructions private final static byte CLA = (byte) 0x80; // RSA instructions private f...
- Fri Jun 30, 2017 12:04 am
- Forum: Questions & Answers
- Topic: RSA encryption problem
- Replies: 2
- Views: 7065
RSA encryption problem
I have generated a key pair in the applet constructor and also instantiated a RSA cipher.
If I try to encrypt the same plain text two times with the public key, I obtain two different cipher texts.
What 's the problem? Could anyone figure me out? Thanks.
If I try to encrypt the same plain text two times with the public key, I obtain two different cipher texts.
What 's the problem? Could anyone figure me out? Thanks.
- Tue Nov 01, 2016 11:10 pm
- Forum: Questions & Answers
- Topic: How to put a PKCS#11-cert on javacard
- Replies: 2
- Views: 7153
How to put a PKCS#11-cert on javacard
I have a Javacard with an applet on it and I want to do some crypto-operations. Could anybody tell me how to upload a PKCS#11-cert on the card?
- Thu Sep 29, 2016 8:45 am
- Forum: Card Products
- Topic: AlgTest result of JC10M24R java card
- Replies: 1
- Views: 6655
AlgTest result of JC10M24R java card
Could anybody provide the AlgTest result of JC10M24R java card?
Thanks
Thanks
- Sun Sep 11, 2016 10:10 pm
- Forum: Algorithm School
- Topic: ECC curve parameters
- Replies: 4
- Views: 10200
ECC curve parameters
Where can I get the ECC curve parameters? Is there any related specification? thanks.
- Fri Sep 02, 2016 1:29 am
- Forum: Questions & Answers
- Topic: changing to channel 3 in JCIDE
- Replies: 3
- Views: 8779
Re: changing to channel 3 in JCIDE
To exit the current logical channel, which command should I send?
- Wed Aug 31, 2016 1:34 am
- Forum: Shopping FAQ
- Topic: color printing
- Replies: 3
- Views: 9746
color printing
I have bought several A40CR cards two months ago. The cards are white blank cards.
I wonder if you can do color printing on card. I want my card to have the front print.
If yes, how much do you charge for this service?
I wonder if you can do color printing on card. I want my card to have the front print.
If yes, how much do you charge for this service?
- Fri Jun 17, 2016 1:26 am
- Forum: Shopping FAQ
- Topic: buy some A40CR cards
- Replies: 3
- Views: 8865
Re: buy some A40CR cards
If this, I want my card support Mifare 1K .
So can I have my card support the configuration?
- Java Card 3.0.4, GP2.2.1
- T=0
- Type A
- Mifare 1K
So can I have my card support the configuration?
- Java Card 3.0.4, GP2.2.1
- T=0
- Type A
- Mifare 1K