Skip to content

andysjt/Cross-platform-AES-encryption-128bit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 43.3%
  • C# 24.5%
  • Swift 19.4%
  • PHP 12.1%
  • Ruby 0.7%