CryptLib
[ class tree: CryptLib ] [ index: CryptLib ] [ all elements ]

Class: CryptEngine

Source Location: /CryptLib/CryptEngine.php

Interface Overview


Defines an interface to query and create cryptographic engines.


Author(s):

  • Randy

Version:

  • 0.1

Methods



Class Details

[line 16]
Defines an interface to query and create cryptographic engines.



Tags:

author:  Randy
version:  0.1


[ Top ]


Class Methods


method decrypt [line 32]

string decrypt( string $text)

Decrypts an encrypted string.



Tags:

return:  The decrypted form of the string.
access:  public


Parameters:

string   $text   The data to be decrypted.

[ Top ]

method encrypt [line 24]

string encrypt( string $text)

Encrypts a string and returns the encrypted version.



Tags:

return:  An encrypted form of the string.
access:  public


Parameters:

string   $text   The data to be encrypted.

[ Top ]

method getOptions [line 46]

PropertyHolder getOptions( )

Returns the current options for the encryption scheme.



Tags:

return:  Varies depending on the encryption scheme.
access:  public


[ Top ]

method setOptions [line 39]

void setOptions( $options)

Sets the options for the encryption scheme.



Tags:

access:  public


Parameters:

PropertyHolder   $options   Varies depending on the encryption engine.

[ Top ]


Documentation generated on Wed, 15 Nov 2006 08:48:00 -0600 by phpDocumentor 1.3.1