Changes

Jump to navigation Jump to search
52 bytes removed ,  15:44, 15 September 2013
|-
| width='120' | '''Signatures'''
|{{Func|crypto:encrypt|$input as xs:string, $encryption-type as xs:string, $secret-key as xs:string, $cryptographic-algorithm as xs:string|xs:string}}
|-
| '''Summary'''
|Encrypts the given input string.<br/>
{{Code|$encryption-type}} must be {{Code|symmetric}}, as asymmetric encryption is not supported so far. '''Default is {{Code|symmetric}}'''.<br/>{{Code|$secret-key}} is the secret key which is used for both encryption and decryption of input data. Its length is fixed and depends on the chosen algorithm: {{Code|8 bytes for DES}}, {{Code|16 bytes for AES}}.<br/>{{Code|$cryptographic-algorithm}} must either be {{Code|DES}} or {{Code|AES}}. Other algorithms are not supported so far, but, of course, can be added on demand. '''Default is {{Code|DES}}'''.
|-
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu