Mercurial > urweb
view tests/crypt.ur @ 2097:9272476e2a1c
Client-side conversion of string to bool
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 25 Dec 2014 18:32:27 -0500 |
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>