Text Reverse Algorithm in JavaScript

Type or paste a message into LHS and click Encrypt

Plaintext   Cyphertext