Gumbo_Encrypt

Gumbo_Encryption
   |
   --Gumbo_Encrypt

Encrypt Class

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Inherited Methods

Class Methods

public Gumbo_Encrypt __construct ( [string $data], [string $key], [int $cipher], [int $mode], [bool $encode] ) [line 45]

Constructor

Parameter(s):

  • (string) $data
  • (string) $key
  • (int) $cipher
  • (int) $mode
  • (bool) $encode

[ Top ]
public string md5 ( [string $data], [bool $raw_output] ) [line 106]

Returns an md5 encrypted string

Parameter(s):

  • (string) $data
  • (bool) $raw_output :: parameter in the md5 function
  • throws:  Gumbo_Exception

[ Top ]
public string parse ( ) [line 61]

Parses the data by encryption

  • throws:  Gumbo_Exception
Overrides
Gumbo_Encryption::parse()

[ Top ]
public string sha1 ( [string $data], [bool $raw_output] ) [line 139]

Returns an sha1 encrypted string

Parameter(s):

  • (string) $data
  • (bool) $raw_output :: parameter in the md5 function
  • throws:  Gumbo_Exception

[ Top ]