PHP Interface Trianglman\Sqrl\NonceValidatorInterface

Author: johnj
Mostra file Open project: trianglman/sqrl

Public Methods

Method Description
validateSignature ( string $orig, string $sig, string $pk ) : boolean Validates a supplied signature against the original and the public key

Method Details

validateSignature() public method

Validates a supplied signature against the original and the public key
public validateSignature ( string $orig, string $sig, string $pk ) : boolean
$orig string The original message
$sig string The signature to verify
$pk string The public key derived from the private key that created the signature
return boolean