Crypto.3kaya

Langue: en

Version: March 2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Crypto - High level cryptography/hashing functions

DESCRIPTION

This module contains the encryption and decryption wrappers for Kaya's built-in encryption used to secure web applications. Currently this encryption uses AES 256 encryption via the Gcrypt(3kaya) module and libgcrypt

The encryption key used in the built-in encryption is normally contained within the application binary. If you are using this internal key, you must therefore keep the application binary safe from unauthorised reading (just as you would protect a config file containing database passwords). For convenience of administration, application may choose to use an externally provided key with the built-in encryption functions.

EXCEPTIONS

Crypto.InvalidDecryptionHash(3kaya)

Crypto.InvalidEncryptedData(3kaya)

Crypto.InvalidExternalKey(3kaya)

FUNCTIONS

Crypto.decode(3kaya)

Crypto.encode(3kaya)

Crypto.secureHash(3kaya)

Crypto.setEncryptionIvec(3kaya)

Crypto.setEncryptionKey(3kaya)

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.