DES security in javacard test
Hello.
I have a simple question.
I 'm testing with apdutools and jcwde from SUN an applet that uses security and crypto pakages from javacard 2.2.1.
try
{
desKey = (DESKey)KeyBuilder.buildKey(KeyBuilder.TYPE_DES, (short)8, false);
desKey.setKey(keyBits, (short)0);
cipher = Cipher.getInstance(Cipher.ALG_DES_CBC_ISO9797_M2, false);
cipher.init(desKey, Cipher.MODE_ENCRYPT);
count = cipher.doFinal(balanceD, (short)0, (short)balanceD.length, balanceB, (short)0);
}
This code throws a CryptoException, "NO_SUCH_ALGORITH".
What types of cripto algorithms are implemented?
Can I test something without a phisical card, only via software?
Thanks

