Cross platform 128bit AES encryption / decryption.

This project contains the implementation of 128 bit AES encryption which works on all the platforms (C#, iOS(Swift), Java Android, PHP and Java backend).

Platforms Supported:

  1. iOS Swift4)

  2. Java Android

  3. Dot Net (C#) [Also works with .Net Core]

  4. Java Backend

  5. PHP

Features:

Cross platform support. Encryption-Decryption works across C#, Swift, Java and PHP.

How to encrypt/decrypt a string:

See code samples for more details. You'll have to perform following steps:

  1. Use a common secret key across all platform.
  2. Call the CryptoHelper.encrypt(String) for encryption.
  3. Call the CryptoHelper.decrypt(String) for decryption.

PHP Uses https://gist.github.com/mataprasad/baefc94bc575b83e13f26bb38de42383 PHP Uses

Swift Uses https://gist.github.com/mataprasad/706b60b07b981a26fd27255a78f00dc7 Swift Uses

Java Uses https://gist.github.com/mataprasad/23566b1dde487b63b047e7bd906d820a Java Uses

C# Uses https://gist.github.com/mataprasad/5d746e57d43c197120a82a6b4e51e3c7 C# Uses