Can any one help me on this? Thanks.
--
View this message in context:
http://openssl.6102.n7.nabble.com/How-to-make-EVP-functions-returns-false-tp67775p68091.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.
Hi,
I am using EVP encryption and decryption and rsa key generation api from
openssl for my project.
I need to write unit tests for my code including failure conditions also.
Could you please help me to make below functions returns false without
getting valgrind error.
1. EVP_EncryptInit_ex() & EVP
Hello,
Ya you are correct James.
But my doubt is what is the best method to hash the password securely with
salt.
I mean which method is preferred by openssl,
HashValue = Hash(password + salt).
HashValue = Hash( Hash(password) + salt). or something else?
HashValue = Hash(password) + Hash(salt).
Thanks for all the information provided. Really its very nice information.
And one more question, if i am using a salt with the password for computing
a hash value i need to store the salt for future reference and what about
the scenario when attacker gets that salt and hash. That time it may be
r
Hi,
I going to use SHA256 algorithm for storing my passwords in secure manner.
But after reading some documentations related to SHA i come to know it is
not reversable.
Yes hashing means its not reversable only.
But i saw some online websites giving the original data by reversing the
hash data.
i
Hi,,
I am using Openssl for encryption and decryption.
I need some information on AES encryption and decryption key and iv type.
My doubt is when we are using a openssl in command line we need to pass key
and iv as hex strings right?
and same when we are EVP calls in C/C++ programming what is the
Thanks for your reply.
Correct me if i am wrong.
What i have understood from your point is, i have to read the first 2 char
of 32 char IV and convert into a byte array right?
For example: my IV "12345678901234567890123456789012"
I have read first 2 char i.e "12" then i have to convert it into byte
Hi,
I have encrypted a free text in C++ using a EVP calls with CFB mode and 32
bytes of IV (Hex String).
Then i am passing this cipher text to my another end which is using a
python(PyCrypto library) code to decrypt a cipher text using same Key and
IV.
But i am getting error "IV must be of 16 byte
Hi,
I have problem in RSA encrypt and decrypt using EVP methods.
My below program is some times working fine and some times it fails to
decrypt the message.
That means when i executing the below code 2 times working fine 3rd time it
fails to decrypt.
Please point out the error.
Code:
#include
#
Ya your example looks good. Thanks.
And i have another method, i have created BIO by passing that key to
BIO_new_mem_buf function then from that BIO i got a RSA structure using
PEM_read_bio_RSAPublicKey function.
Is that will work for me???
Code:
RSA* CreateRSAStruct(void* data, GetKey type)
{
Hi,
I have seen both BIO and normal openssl functions.
Actually what is the difference between both the functions.
Example:
We have PEM_read_BIO_RSAPrivatekey and PEM_read_RSAPrivatekey functions,
What makes these functions different from each other
--
View this message in context:
http:/
Hi,
I have a RSA Public key as string type.
I need to convert this string to PEM file. Please help me to create PEM file
from string type.
If u have any sample programs pls post it also for better understanding.
--
View this message in context:
http://openssl.6102.n7.nabble.com/Convert-RSA-key
12 matches
Mail list logo