Search found 11 matches: re:
Searched query: re
- Thu Jun 29, 2017 5:10 am
- Forum: Questions & Answers
- Topic: javax.crypto.BadPaddingException
- Replies: 4
- Views: 11138
Re: javax.crypto.BadPaddingException
I did as you said, but the error is still there.
- Fri Jan 20, 2017 6:10 am
- Forum: Algorithm School
- Topic: The different results with DES algorithm
- Replies: 6
- Views: 13277
Re: The different results with DES algorithm
Thanks for all the help. It's due to overlap problem, indeed.
- Fri Jan 20, 2017 5:34 am
- Forum: Algorithm School
- Topic: The different results with DES algorithm
- Replies: 6
- Views: 13277
Re: The different results with DES algorithm
mabel wrote:You don't need to check the data. The problem is that input and output used the same buffer.
You can create a temp buffer. input uses apdu buffer and output uses the temp buffer. Then have a try.
Oops, that's it. I did as you said, it works.
- Fri Jan 20, 2017 4:47 am
- Forum: Algorithm School
- Topic: The different results with DES algorithm
- Replies: 6
- Views: 13277
Re: The different results with DES algorithm
Danieken wrote:Could you provide the data?
Among the result data, some blocks' data are same, but the subsequent data is inconsistent.
I used jcop/A22CR and JC30M48CR to do the test.
- Wed Dec 28, 2016 4:36 am
- Forum: Reader
- Topic: Does feitian have landing contact card reader?
- Replies: 5
- Views: 10902
Re: Does feitian have landing contact card reader?
Whats landing contact card reader? Is there any card reader called this?
- Fri Nov 04, 2016 1:36 am
- Forum: Questions & Answers
- Topic: Problem of DER bytes
- Replies: 3
- Views: 7497
Re: Problem of DER bytes
chico0609 wrote:Your problem is just because bytes are signed. Any byte in the 0x80-0xFF range will be signed extended to int and printed as a negative integer in range -127...-1.
Thanks for your help. If the problem is due to sign extension, how can I modify my code?
- Thu Oct 20, 2016 3:35 am
- Forum: Questions & Answers
- Topic: java card- ECDSA signature
- Replies: 3
- Views: 8256
Re: java card- ECDSA signature
Generally speaking, your card will support ALG_ECDSA_SHA256 as well. But it really depends on the implementation.
- Sat Mar 19, 2016 3:04 am
- Forum: Communication
- Topic: write an application program which can access java card
- Replies: 4
- Views: 16913
Re: write an application program which can access java card
You can write the applet in Java, Python and so on. The program language just depends on your own situation.
- Sat Mar 19, 2016 2:34 am
- Forum: Questions & Answers
- Topic: How to save the key in RAM?
- Replies: 1
- Views: 5733
- Wed Dec 16, 2015 6:44 am
- Forum: Questions & Answers
- Topic: Confused about Get Response command
- Replies: 3
- Views: 14978
Re: Confused about Get Response command
You can write one applet, and have a test. I have written an applet. Here is the code: package GR_TEST; import javacard.framework.*; import javacardx.apdu.ExtendedLength; public class GR_TEST extends Applet implements ExtendedLength { byte[] a = null; public GR_TEST() { a = new byte[(short)1000]; f...