Skip to content

CryptoJS 3.x AES encryption/decryption with both Javascript and PHP, And now: URL Friendly

License

Notifications You must be signed in to change notification settings

Hadryan/cryptojs-aes-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Friendly encryption/decryption by both Javascript and PHP (Same results) Ideal for: Client side encryption and server side decryption or vice versa

Based on: CryptoJS 3.x AES encryption/decryption on client side with Javascript and on server side with PHP

I've long researched to make this working for me and i want to share my solution to make it possible to encrypt/decrypt data from/to CryptoJS and PHP. This works with CryptoJS 3.x and PHP with openssl support.

I use a JSON format for encryption/decryption to be able to use any possible object/array/string data on both sides. I also use the standard AES implementation from CryptoJS with a passphrase. I don't generate special keys, iv's or salts.

Requirements

About

CryptoJS 3.x AES encryption/decryption with both Javascript and PHP, And now: URL Friendly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.8%
  • JavaScript 12.2%