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'
Note that you could make good/fun use of these by cutting & pasting to & from these text areas