Query: openssl_private_encrypt
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OPENSSL_PRIVATE_ENCRYPT(3) 1 OPENSSL_PRIVATE_ENCRYPT(3) openssl_private_encrypt - Encrypts data with private keySYNOPSISbool openssl_private_encrypt (string $data, string &$crypted, mixed $key, [int $padding = OPENSSL_PKCS1_PADDING])DESCRIPTIONopenssl_private_encrypt(3) encrypts $data with private $key and stores the result into $crypted. Encrypted data can be decrypted via openssl_public_decrypt(3). This function can be used e.g. to sign data (or its hash) to prove that it is not written by someone else.PARAMETERSo $data - o $crypted - o $key - o $padding -$padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_NO_PADDING.RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOopenssl_public_encrypt(3), openssl_public_decrypt(3). PHP Documentation Group OPENSSL_PRIVATE_ENCRYPT(3)
Related Man Pages |
---|
rsa_private_decrypt(3) - centos |
rsa_public_encrypt(3) - centos |
openssl_open(3) - php |
openssl_pkcs7_decrypt(3) - php |
wincache_ucache_inc(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
User Guide: Posting in the Emergency Forum |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Status of UNIX.COM Forum Transformation |