public static sign ( string | resource $filename, SignatureSecretKey $secretKey, boolean $raw_binary = false ) : string | ||
$filename | string | resource | File name or file handle |
$secretKey | SignatureSecretKey | Secret key for digital signatures |
$raw_binary | boolean | Default: return hexadecimal |
return | string | Detached signature for the file |