<?php
/**
* @package Joomla.Platform
* @subpackage Crypt
*
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* JCrypt cipher interface.
*
* @package Joomla.Platform
* @subpackage Crypt
* @since 12.1
*/
interface JCryptCipher
{
/**
* Method to decrypt a data string.
*
* @param string $data The encrypted string to decrypt.
* @param JCryptKey $key The key[/pair] object to use for decryption.
*
* @return string The decrypted data string.
*
* @since 12.1
*/
public function decrypt($data, JCryptKey $key);
/**
* Method to encrypt a data string.
*
* @param string $data The data string to encrypt.
* @param JCryptKey $key The key[/pair] object to use for encryption.
*
* @return string The encrypted data string.
*
* @since 12.1
*/
public function encrypt($data, JCryptKey $key);
/**
* Method to generate a new encryption key[/pair] object.
*
* @param array $options Key generation options.
*
* @return JCryptKey
*
* @since 12.1
*/
public function generateKey(array $options = array());
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| cipher/ | 2013-03-01 19:55 | 5.83 KB | 76129f60960:kunden | dxwrx-rx-r | |
| cipher.php | 2013-03-01 19:54 | 1.24 KB | 76129f60960:kunden | -xw-x----- | |
| crypt.php | 2013-03-01 19:54 | 5.45 KB | 76129f60960:kunden | -xw-x----- | |
| index.html | 2013-03-01 19:54 | 31 B | 76129f60960:kunden | -xw-x----- | |
| key.php | 2013-03-01 19:54 | 1.56 KB | 76129f60960:kunden | -xw-x----- | |