crypto_evp_sign()#
Syntax
crypto_evp_sign( digestname, privkey, buffer, signature var )
Returns#
1 on success, 0 on failure
Parameters#
Parameter | Description |
---|---|
<div>digestname |
Hash algorithm name, such as “md5” or “sha256”. Supported digest algorithms will vary between OpenSSL installations |
privkey |
EVP PKEY structure reference |
buffer |
The data to sign |
signature |
The signed output signature |