/jcrypsi

Custom crypto utility for Java Virtual Machine and Android (Digest, AES, HMAC, RSA, RSA Digital Signature)

Primary LanguageJava

jcrypsi (crypsi for Java Virtual Machine)

Custom crypto utility for Java Virtual Machine

JCrypsi CI

jcrypsi is compatible with each other with the following libraries

Features

  • Asymmetric encryption with RSA
  • Generate RSA private and public key
  • Digital Signature with RSA private and public key using PSS
  • Symmetric encryption with AES
  • Message authentication code with HMAC
  • Generate Hash with Common DIGEST Algorithm

Build and Test

Requirements:

for build tools you can choose between Maven or Gradle

Running unit test

  • with Maven
$ mvn test
  • with Gradle
$ gradle clean
$ gradle test

Running example snippet application

  • Build with Maven
$ mvn clean package
$ java -jar target/app.jar 
  • Build with Gradle
$ gradle fatJar 
$ java -jar build/libs/app-1.0-SNAPSHOT.jar

Add jcrypsi to your project

TODO