Re: question about openssl_open

2004-12-23 Thread Stanislav Chachkov
Hello, (I look in the source code of openssl php extension, i think is better to ask my question like that: ) What is command line equivalent to EVP_Open functions? Also, the openssl_seal doc says that: "openssl_seal() seals (encrypts) data by using RC4 with a randomly generated secret key. T

question about openssl_open

2004-12-21 Thread Stanislav Chachkov
Hello, I cannot figure out which is the 'command line' equivalent of openssl_open php function I store raw sealed data and envlope key in two files (cc.cry and ekey.cry) , then i try that: $ openssl rsautl -decrypt -inkey rsaprivatekey.pem -in ekey.cry -out ekey $ openssl enc -rc4 -d -nosalt -in