Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Unofficial Encryption module for Kohana-Framework that supports encryption through OpenSSL and hashing with crypt()
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
classes
config
guide/encrypt
tests
README.markdown

README.markdown

Encrypt

Encrypt is a simple hack for Kohana Frameworks original encrypt class to support OpenSSL and its en-/decrypting methods with public / private keys and password encryption.

Other OpenSSL methods have not been implemented yet.

The module still supports mcrypt by default, so no changes are required to replace Kohanas standard encryption class.

Additionally the crypt() function is supported to hash strings.

Installation

Copy this module to your modules directory and initialize it in your bootstrap.php

bootstrap.php

Kohana::modules(array(
    'kohana-encrypt'           => MODPATH . 'kohana-encrypt',
));

Configuration

Copy the encrypt.php config file from this module to your applications config file.

Please check the pages specific to the encryption method you want to use for more configuration advice.

Usage

Please check the userguide

Something went wrong with that request. Please try again.