root/trunk/system/config/encryption.php

Revision 3700, 1.2 kB (checked in by Shadowhand, 12 days ago)

Updates to trunk:

  • Removed all SYSPATH file checks
  • Deleted some modules: code_coverage (3.0), shoutbox (defunct), user_guide (defunct), kobot (3.0), object_db (3.0)
  • Updated ORM and ORM_Iterator to match 3.0, enabling the new HABTM stuff, see r3636 and r3640
  • Property svn:eol-style set to LF
  • Property copyright set to Copyright (c) 2007 Kohana Team
  • Property svn:keywords set to Id
Line 
1<?php
2/**
3 * @package  Encrypt
4 *
5 * Encrypt configuration is defined in groups which allows you to easily switch
6 * between different encryption settings for different uses.
7 * Note: all groups inherit and overwrite the default group.
8 *
9 * Group Options:
10 *  key    - Encryption key used to do encryption and decryption. The default option
11 *           should never be used for a production website.
12 *
13 *           For best security, your encryption key should be at least 16 characters
14 *           long and contain letters, numbers, and symbols.
15 *           @note Do not use a hash as your key. This significantly lowers encryption entropy.
16 *
17 *  mode   - MCrypt encryption mode. By default, MCRYPT_MODE_NOFB is used. This mode
18 *           offers initialization vector support, is suited to short strings, and
19 *           produces the shortest encrypted output.
20 *           @see http://php.net/mcrypt
21 *
22 *  cipher - MCrypt encryption cipher. By default, the MCRYPT_RIJNDAEL_128 cipher is used.
23 *           This is also known as 128-bit AES.
24 *           @see http://php.net/mcrypt
25 */
26$config['default'] = array
27(
28    'key'    => 'K0H@NA+PHP_7hE-SW!FtFraM3w0R|<',
29    'mode'   => MCRYPT_MODE_NOFB,
30    'cipher' => MCRYPT_RIJNDAEL_128
31);
Note: See TracBrowser for help on using the browser.