Changes

Jump to navigation Jump to search
238 bytes added ,  12:15, 11 October 2011
m
=Encryption & Decryption=
The encryption and decryption functions underlie several limitations:
#* Cryptographic algorithms are limited to <code>symmetric</code> algorithms only. This means that the same secret key is used for encryption and decryption. #* Available algorithms are <code>DES</code> and <code>AES</code>.#* Padding is fixed to <code>PKCS5Padding</code>.* The result of an encryption using the same message, algorithm and key looks different each time it is executed. This is due to a random initialization vector (IV) which is appended to the message and simply increases security.#Padding is fixed * As the IV has to be passed along with the encrypted message somehow, data which has been encrypted by the <code>crypto:encrypt</code> function in BaseX can only be decrypted by calling the <code>PKCS5Paddingcrypto:decrypt</code>function.
==crypto:encrypt==
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu