Ohdave JavaScript crypto library:

Example: