This page demonstrates the use of JavaScript for encryption.
Using my own, highly optimized, algorithms: Crypto_RM.js
Regarding the use of JS please see:
Why Browser-Based Encryption
view server code
More advanced web page using 'Crypto_RM.js'
Keycode string:
Note that you could make good/fun use of these by cutting & pasting to & from these text areas