PHP 클래스 ParagonIE\Halite\Symmetric\Config

상속: extends ParagonIE\Halite\Config
파일 보기 프로젝트 열기: paragonie/halite 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

getConfig() 공개 정적인 메소드

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

getConfigAuth() 공개 정적인 메소드

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

getConfigEncrypt() 공개 정적인 메소드

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