# Cross-platform-AES-encryption-128bit
**Repository Path**: yfzhu/Cross-platform-AES-encryption-128bit
## Basic Information
- **Project Name**: Cross-platform-AES-encryption-128bit
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-16
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
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

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

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

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