docs.roxen.comBack to normal mode
DocsRoxenWebServer 6.1Web Developer ManualProgramming Tags
Copyright © 2021, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<crypt></crypt>

Provided by module: Tags: RXML tags

Encrypts the contents as a Unix style password. Useful when combined with services that use such passwords.

Unix style passwords are one-way encrypted, to prevent the actual clear-text password from being stored anywhere. When a login attempt is made, the password supplied is also encrypted and then compared to the stored encrypted password.

Depending on the version of Roxen and Pike this tag supports several different encryption schemes.


Attributes

compare="string"

Compares the encrypted string with the contents of the tag. The tag will behave very much like an <if> tag.

<crypt compare="LAF2kkMr6BjXw">Roxen</crypt> <then>Yepp!</then> <else>Nope!</else>
Yepp!