PHP - Manual: 其它常量
2025-11-01
OPENSSL_RAW_DATA
        (int)
      OPENSSL_RAW_DATA is set in the
         openssl_encrypt() or openssl_decrypt(),
         the returned data is returned as-is.
         When it is not specified, Base64 encoded data is returned to the caller.
        
      OPENSSL_ZERO_PADDING
       (int)
      OPENSSL_ZERO_PADDING is set in the
         openssl_encrypt() or openssl_decrypt()
         options then no padding is performed, the total
         amount of data encrypted or decrypted must then be a multiple of the
         block size or an error will occur.
        
      OPENSSL_ENCODING_SMIME
       (int)
      OPENSSL_ENCODING_DER
       (int)
      OPENSSL_ENCODING_PEM
       (int)
      官方地址:https://www.php.net/manual/en/openssl.constants.other.php