# Stupid question

Scott Delcore (scott.m.delcore@cpmx.saic.com)
Mon, 21 Jul 1997 12:37:03 -1000

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Silverstein: "X509 v3 Extensions"
- Previous message: Navindra Umanee: "Re: incomplete export control terms and conditions ?"

    Date: Mon, 21 Jul 1997 12:37:03 -1000

    From: Scott Delcore <scott.m.delcore@cpmx.saic.com>

    To: java-security@web2.javasoft.com

    Subject: Stupid question

Why is it that when I try to implement the example code listed in:

JavaTM Cryptography Extension
API Specification & Reference
Last Modified: 27 February 1997

I can't get any of the algorithms to work:

KeyGenerator keygen = KeyGenerator.getInstance("DES");

produces:
---------
KeyGenerator: java.security.NoSuchAlgorithmException: algorithm
DES not available.

Cipher des = Cipher.getInstance("DES", "CBC", "PKCS#5");
and this gives me a syntax error.

I really do not know much about cryptography, I am just trying to
implement a simple password/login class for an application that
needs access to data separated into groups.

Scott Delcore

- Next message: David Silverstein: "X509 v3 Extensions"
- Previous message: Navindra Umanee: "Re: incomplete export control terms and conditions ?"