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

Krüptel implements Web Crypto API and exposes a 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 stored or method is ask for secret.

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