-
crypto
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 » -
crypto
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 » -
crypto
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 » -
io
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 » -
InputStream
Read char from console with InputStream
This is an example of how to read a char from console using an InputStream. It is an abstract class…
Read More » -
InputStream
Read line of chars from console with InputStream
In this example we shall show you how to read a line of chars from console with an InputStream. This…
Read More » -
FileOutputStream
Write byte array to file with FileOutputStream
With this example we are going to demonstrate how to write a byte array to a file using a FileOutputStream.…
Read More » -
FileOutputStream
Append output to file with FileOutputStream
This is an example of how to append output to a file using the FileOutputStream. The FileOutputStream is an output…
Read More » -
FileInputStream
Tokenizer from FileReader example
In this example we shall show you how to get a tokenizer from a FileReader. The FileReader is a convenience…
Read More » -
FileInputStream
Read file with FileInputStream
With this example we are going to demonstrate how to read a File with a FileInputStream. The FileInputStream obtains input…
Read More »