Encode and decode in java

Tuesday, April 5th, 2016 (0 Comment)

if you want to secure your data and do not want anyone to be able to easily read the data, then we need to use encode and decode these data.

We have some examples for encode and decode data in java and example about create file publicKey, signature and verify them for data security purposes.

1. Example encode and decode a string use key

use PBEWithMD5AndDES and salt to encode and decode

2. Example encode and decode data file

2.1 Encode data file

2.2 Decode data file

3. Example encode use public Key and Signature

3.1 Generate signature file and publicKey file from data source file

3.2 Verify data source file with publicKey and signature created above

 

Tags: , , , , ,

Related Posts

core java
Export Crystal Report with Subreport in java
core java
Convert xml to object java and vice versa
core java
Java basic tutorial on lvtutorial.com
core java
Java hibernate manytomany to manage user role

Related Posts

core java
Export Crystal Report with Subreport in java
core java
Convert xml to object java and vice versa
core java
Java basic tutorial on lvtutorial.com
core java
Java hibernate manytomany to manage user role

Leave a Reply

Your email address will not be published. Required fields are marked *