Reversible encryption function DES (Data Encryption Standard).
 

1 crypt.des.encrypt

<crypt.des.encrypt password='password'>
    <var /> !
</crypt.des.encrypt>

Exceptions

requires 1 argument

The entry parameter has not been specified.

Wrong key size

A password with less than 8 characters has been indicated.

Example
Copy
<xsql-script name='test_gen_hash'>
	<body>
		<set name='m_secret'>
			<byte.base64.encode>
				<crypt.des.encrypt password='aazubud2'>This is a secret</crypt.des.encrypt>
			</byte.base64.encode>
		</set>
		<println>SECRET AS BASE 64:<m_secret /></println>
	</body>
</xsql-script>