title: Is there a library for both Javascript and Rails to encrypt and decrypt with a key?
body: <p>I'd like to encrypt a string in the server side with a password, and decrypt it in the client side with the same password.</p>
  
  <p>How to approach this?</p>