Sample code for 30+ languages & platforms
PHP

JSON Web Encryption (JWE) Examples for Chilkat2 PHP