SuperEncryption is lightweight and powerful library for encryption & decryption digital content and support any file type from Movie, Audio to eBook, document etc. - demo: http://johnnyle.github.io/SuperEncryption
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
library
README.md

README.md

SuperEncryption

SuperEncryption is FREE lightweight and powerful library for encryption & decryption digital content, support any file type from Movie, Audio to eBook, document etc.

Key Features

  • Support any file type (from movie, audio, ebook, document ...)
  • High security with AES Encryption algorithm
  • High performance encryption & decryption
  • Lightweight and powerful library built from scratch, so can use both in Server & Mobile client or re-write to other language.
  • Optimized memory usage for encryption & decryption
  • Encryption file size does not increase compare with original file size (Due to multiple block bytes have been compressed during encrypting)

Online Demo

Library Dependency

How to use

   
   private static Encrypter encrypter=new Encrypter();
   private static Decrypter decrypter=new Decrypter();
   // AES Encrypttion key, could be changed dynamic as you needs
   private static String key="kmP45pYv8Og9H39ZrShz3IsxVSfKI5iM";
   
   /**
    * Example
    */
   public static void main(String[] args) throws IOException {
       String inputPath = "D:/TESTFILE/test.pptx";
       String outputPath = "D:/TESTFILE/";
       EncryptMeta metadata=encrypter.docEncrypt(inputPath, outputPath, key);
       String fileName=decrypter.docDecrypt("D:/TESTFILE/test.encrypted", outputPath, key);

   }