PHP Interface Emarref\Jwt\Encryption\EncryptionInterface

Show file Open project: emarref/jwt Interface Usage Examples

Public Methods

Method Description
encrypt ( string $value ) : string
getAlgorithmName ( ) : string
verify ( string $value, string $signature ) : boolean

Method Details

encrypt() public method

public encrypt ( string $value ) : string
$value string
return string

getAlgorithmName() public method

public getAlgorithmName ( ) : string
return string

verify() public method

public verify ( string $value, string $signature ) : boolean
$value string
$signature string
return boolean