# Java Security

## Recent Tutorial

## Java File Encryption Decryption using AES Password Based Encryption (PBE)

This Java tutorial is to learn about using AES password based encryption (PBE) to encrypt and decrypt a file. In the previous tutorial we saw about using TripleDES PBE to encrypt and decrypt a file. AES is more advanced and secure than TripleDES. In this tutorial we will have simple text file with plain text. […]

Published to Java Tutorial on 19/11/2014.

## Java File Encryption Decryption using Password Based Encryption (PBE)

In this Java tutorial we will see about what PBE is and how we can use it in Java to encrypt and decrypt a file. In Password based encryption (PBE), a password is chosen and it is used along with a generated salt (key) to encrypt. Then the same password is used along with the […]

Published to Java Tutorial on 10/11/2014.

## Simple Encryption Decryption with Modulo 26 Polyalphabetic Cipher

This tutorial is to understand basics of cryptography using modulo 26 polyalphabetic cipher. We will not be using Java Cryptography Extension (JCE) but just core Java. So that it will help us understand the fundamentals of symmetric key cryptography. If you are looking for a safe cryptography implementation for a real time project use, refer […]

Published to Java Tutorial on 03/11/2014.

## Java Symmetric AES Encryption Decryption using JCE

In this tutorial we will learn about AES symmetric encryption decryption using Java Cryptography Extension (JCE). In the previous tutorial we saw about encryption decryption using DES symmetric key algorithm. “Data Encryption Standard (DES)” is prone to brute-force attacks. It is a old way of encrypting data. It is replaced by “Advanced Encryption Standard (AES)”. […]

Published to Java Tutorial on 02/11/2014.

## Java Symmetric Encryption Decryption using Java Cryptography Extension (JCE)

This tutorial is to demonstrate how to encrypt and decrypt in Java using the Java Cryptography Extension (JCE). Symmetric key and asymmetric key are the two basic types of cryptographic systems. They are also called as “secret key” and “public key” cryptography. One of the success factors to Java is attributed to the strong security […]

Published to Java Tutorial on 02/11/2014.