> On Sep 2, 2018, at 6:51 PM, Jim Dutton <randomnoise058@xxxxxxxxx> wrote: > > It is interesting to note that the openssl_private_encrypt function appears > to require a "true" private key and either expects or defaults to RSA. Not surprising, given the name and brief documentation. > In both cases neither PHP-OpenSSL nor OpenSSL documentation make these > distinctions between the two "encrypt" functions. Private key encryption is a low-level primitive that is fragile in non-expert hands. Avoid if you're not steeped in cryptographic lore. Use a higher-level protocol that makes use of such primitives internally. -- Viktor. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users