The Java cryptographic extensions contain a class
Cipher that is the superclass of all encryption algorithms. To get a cipher object, call the
Cipher cipher = Cipher.getInstance(algorithName);
Cipher cipher = Cipher.getInstance(algorithName, providerName);
The JDK comes with ciphers by the provider named
"SunJCE". It is the default provider used if you don’t specify another provider name. You might want another provider if you need specialized algorithms that Oracle does not support.
The algorithm name is a string such as
The Data Encryption Standard (DES) is a venerable block cipher with a key length of 56 bits. Nowadays, the DES algorithm is considered obsolete ...