phpencryptiondarttwo-way

PHP and Dart two-way encryption


I'm looking for a secure library in PHP and Dart so I can send encrypted data from Dart and decrypt it in PHP. I have no knowledge in Dart so I need help please.i Searched and found some encryption libraries but nothing is common yet between Dart and PHP.


Solution

  • In PHP you can use openssl_public_encrypt and openssl_private_decrypt, in Dart you can use encrypt library. Also take a look at this answer.