Core Java
-
Get/Set a bean property
This is an example of how to get and set a bean property. We are using the Statement class. A…
Read More » -
Get bytes of generated symmetric key
In this example we shall show you how to get the bytes of a generated symmetric key. To get the…
Read More » -
Generate Message Authentication Code (MAC)
With this example we are going to demonstrate how to generate a Message Authentication Code (MAC). We are using the…
Read More » -
Encrypt/Decrypt file/stream with DES
This is an example of how to encrypt or decrypt a file or stream with DES. DES in computing refers…
Read More » -
List available Encryption/Decryption algorithms
This is an example of how to list all the available Encryption/Decryption algorithms. In order to do so we have…
Read More » -
List available cryptographic services
In this example we shall show you how to list all the available cryptographic services. To list all the available…
Read More » -
Encrypt/Decrypt with DES using pass phrase
With this example we are going to demonstrate how to encrypt/decrypt with DES using a password phrase. DES in computing…
Read More » -
Encrypt/Decrypt object with DES
This is an example of how to encrypt and decrypt an object with DES. DES in computing refers to the…
Read More » -
Encrypt/Decrypt string with DES
In this example we shall show you how to encrypt and decrypt a String with DES. DES in computing refers…
Read More » -
Copy binary file with streams
With this example we are going to demonstrate how to copy a binary file using the FileInputStream and the FileOutputStream.…
Read More »