Git Product home page Git Product logo

aes-256-key-split-merge-utility's Introduction

Build Status

Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys

Overview:

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

To Run:

mvn clean test

Run | Generate AES-256 Key | Split AES-256 Key | Merge AES-256 Keys

Generate an AES-256 Key

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

Split AES-256 Key from command line to create 3 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

Merge 3 AES-256 Key from command line

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

aes-256-key-split-merge-utility's People

Contributors

dependabot[bot] avatar jaiswalvik avatar mike-ensor avatar

Stargazers

 avatar  avatar

Watchers

 avatar

aes-256-key-split-merge-utility's Issues

Merging AES keys is not working

I tried to merge two keys
java -jar key-split-merge-util.jar mergeKeys 8e3c9efe64ec35fab42fe1a009701aee3fc47decd2c61ea3e29dfeaf8c4efc86 00fba8989f65a1a7234cde6b5f3340d689a81ce86c4a69d30009026dcc74a76e


Exception in thread "main" java.lang.IllegalArgumentException: com.google.common.io.BaseEncoding$DecodingException: Unrecognized character: e
        at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:248)
        at com.wecanendcraving.encryption.MainApp.main(MainApp.java:47)
Caused by: com.google.common.io.BaseEncoding$DecodingException: Unrecognized character: e
        at com.google.common.io.BaseEncoding$Alphabet.decode(BaseEncoding.java:543)
        at com.google.common.io.BaseEncoding$StandardBaseEncoding$2.read(BaseEncoding.java:715)
        at com.google.common.io.BaseEncoding.decodeChecked(BaseEncoding.java:265)
        at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:246)
        ... 1 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.