PHP Class ParagonIE\Halite\Symmetric\Config

Inheritance: extends ParagonIE\Halite\Config
Exibir arquivo Open project: paragonie/halite Class Usage Examples

Public Methods

Method Description
getConfig ( string $header, string $mode = 'encrypt' ) : self Get the configuration
getConfigAuth ( integer $major, integer $minor ) : array Get the configuration for seal operations
getConfigEncrypt ( integer $major, integer $minor ) : array Get the configuration for encrypt operations

Method Details

getConfig() public static method

Get the configuration
public static getConfig ( string $header, string $mode = 'encrypt' ) : self
$header string
$mode string
return self

getConfigAuth() public static method

Get the configuration for seal operations
public static getConfigAuth ( integer $major, integer $minor ) : array
$major integer
$minor integer
return array

getConfigEncrypt() public static method

Get the configuration for encrypt operations
public static getConfigEncrypt ( integer $major, integer $minor ) : array
$major integer
$minor integer
return array