Search found 12 matches
- Tue Jan 12, 2016 3:27 am
- Forum: Questions & Answers
- Topic: CRC32 Checksum between Java and JavaCard
- Replies: 2
- Views: 6081
CRC32 Checksum between Java and JavaCard
I am working on sending a message with a CRC32 code from the java host to the java card. Host: I create a checksum and send it with the message to the card: Checksum checksum = new CRC32(); checksum.update(rawData, 0, rawData.length); long checksum_value = checksum.getValue(); Card: I also create a ...
- Mon Dec 28, 2015 11:53 pm
- Forum: Algorithm School
- Topic: Card throws an exception thrown when loading the signature on the card
- Replies: 1
- Views: 5938
Card throws an exception thrown when loading the signature on the card
I try to load the signature on the card which is a 64 bytes RSA SHA1 signature. Here is section of my apple. RSAPrivateKey rsa_PrivateKey; RSAPublicKey rsa_PublicKey; KeyPair rsa_KeyPair; Cipher cipherRSA; Signature sig; short expo; short PIN; byte[] pinSig = new byte[64]; public short verify (byte[...