Krüptel ™ inspired by Krümel
Javascript-Plugin to encrypt and decrypt data with AES-GCM

Krüptel implements Web Crypto API and exposes one PHP interface for server side checking encryption and two interfaces for client side AES encryption: enkrüptionalize to optionally encrypt and dekrüptionalize to optionally decrypt the passed argument, if secret is set or method is ask for secret.

require 'cryptel.php';
Krüptel::isEncrypted(outputValue)
<script src="cryptel.php?js"></script>
enkrüptionalize(inputValue[, reject]).then(...)
dekrüptionalize(outputValue).then(...)
dekrüptionalize(querySelectorAll('li')[, resolve])
dekrüptionalize(getElementById('foo')[, resolve])