PHP. Руководство по PHP. 2005
openssl_sign
openssl_sign
Description
bool openssl_sign (string data, string &signature, mixed priv_key_id [, int signature_alg])Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
If successful the signature is returned in
signature.
openssl_sign() computes a signature for the
specified data by using SHA1 for hashing
followed by encryption using the private key associated with
priv_key_id. Note that the data itself is
not encrypted.
See also openssl_verify().
openssl_seal
openssl_verify
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.