Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys
This is a sample utility to split/merge 3 AES-256 keys.
NOTE: This example is built using JDK7, ultimate strength JCE (JDK7) and Maven 3.x
- Unlimited Strength Policy JDK7
- JDK must have the unlimited strength policy for the JDK version
mvn clean test
Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys
mvn clean package // generate executable JAR file
java -jar key-split-merge-util.jar generateKey
// or optionally with Maven (using the above defaults)
mvn exec:java
Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys
mvn clean package // generate executable JAR file
java -jar key-split-merge-util.jar splitKey <hex AES-256 key>
// or optionally with Maven (using the above defaults)
mvn exec:java
Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys
mvn clean package // generate executable JAR file
java -jar key-split-merge-util.jar mergeKeys <hex AES-256 key1> <hex AES-256 key2> <hex AES-256 key3>
// or optionally with Maven (using the above defaults)
mvn exec:java
Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys
Copywrite ©2019 - Use of this code and it's concepts are considered a Proof-of-concept and should not be used directly in any environment