Development

Changeset 10934 for plugins/dwCryptPlugin/README

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
08/19/08 00:17:08 (3 months ago)
Author:
dwhittle
Message:

dwCryptPlugin: converted README to markdown format

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/dwCryptPlugin/README

    r6909 r10934  
    1 = dwCryptPlugin = 
     1dwCryptPlugin 
     2=============  
    23 
    34The `dwCryptPlugin` provides abstraction for the mcrypt library. 
    45 
    5 == Installation == 
    66 
    7   * Install the plugin 
     7Installation 
     8------------ 
    89 
    9   {{{ 
    10     symfony plugin-install http://plugins.symfony-project.org/dwCryptPlugin 
    11   }}} 
     10  * *Install the plugin* 
    1211 
    13   * Clear you cache 
    1412 
    15   {{{ 
     13    symfony plugin:install dwCryptPlugin 
     14 
     15 
     16  * *Clear you cache* 
     17 
     18 
    1619    symfony cc 
    17   }}} 
    1820 
    19   * You're done. 
     21 
     22Example 
     23------- 
     24 
     25    $crypt = new sfCrypt('ecb', 'tripledes', 'sf$secret); 
     26 
     27    $encrypted = $crypt->encrypt('some_data'); 
     28    $decrypted = $crypt->decrypt($encrypted);