view tests/crypt.ur @ 1740:d2ec62c5ad81

Adaptations to ezyang's patch
author Adam Chlipala <adam@chlipala.net>
date Thu, 03 May 2012 10:29:12 -0400
parents a5bfed32d4f7
children
line wrap: on
line source
fun cryptIt r = return <xml><body>
  {[crypt r.Pass "AB"]}
</body></xml>

fun main () = return <xml><body>
  <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
</body></xml>