1Crypto(3kaya) Kaya module reference Crypto(3kaya)
2
3
4
6 Crypto - High level cryptography/hashing functions
7
9 This module contains the encryption and decryption wrappers for Kaya's
10 built-in encryption used to secure web applications. Currently this
11 encryption uses AES 256 encryption via the Gcrypt(3kaya) module and
12 libgcrypt
13
14 The encryption key used in the built-in encryption is normally con‐
15 tained within the application binary. If you are using this internal
16 key, you must therefore keep the application binary safe from unautho‐
17 rised reading (just as you would protect a config file containing data‐
18 base passwords). For convenience of administration, application may
19 choose to use an externally provided key with the built-in encryption
20 functions.
21
23 Crypto.InvalidDecryptionHash (3kaya)
24 Crypto.InvalidEncryptedData (3kaya)
25 Crypto.InvalidExternalKey (3kaya)
27 Crypto.decode (3kaya)
28 Crypto.encode (3kaya)
29 Crypto.secureHash (3kaya)
30 Crypto.setEncryptionIvec (3kaya)
31 Crypto.setEncryptionKey (3kaya)
33 Kaya standard library by Edwin Brady, Chris Morris and others
34 (kaya@kayalang.org). For further information see http://kayalang.org/
36 The Kaya standard library is free software; you can redistribute it
37 and/or modify it under the terms of the GNU Lesser General Public
38 License (version 2.1 or any later version) as published by the Free
39 Software Foundation.
40
41
42
43Kaya December 2010 Crypto(3kaya)