Re: RSA and DES encryption and decryption with C++ on Windows

2022-04-11 Thread Dr Paul Dale
aster/demos/encrypt Matthias *From:*openssl-users *On Behalf Of *John Alway *Sent:* Monday, April 11, 2022 7:06 PM *Cc:* openssl-users@openssl.org *Subject:* Re: RSA and DES encryption and decryption with C++ on Windows Pauli, Thanks for the link, but apparently that code requires havi

RE: RSA and DES encryption and decryption with C++ on Windows

2022-04-11 Thread Dr. Matthias St. Pierre
@openssl.org Subject: Re: RSA and DES encryption and decryption with C++ on Windows Pauli, Thanks for the link, but apparently that code requires having an account to view it. However, I've passed the information from this thread onto the guy I'm working with and he's going to ree

Re: RSA and DES encryption and decryption with C++ on Windows

2022-04-11 Thread John Alway
Pauli, Thanks for the link, but apparently that code requires having an account to view it. However, I've passed the information from this thread onto the guy I'm working with and he's going to reevaluate what he wants to do. Regards, ...John

Re: RSA and DES encryption and decryption with C++ on Windows

2022-04-10 Thread Dr Paul Dale
Have a look in the demos/encrypt folder: https://github.openssl.org/openssl/openssl/tree/master/demos/encrypt There has been an amount of effort put into updating these for 3.0 & later.  There is more to do. Pauli On 10/4/22 23:50, Kenneth Goldman wrote: Anyway, I'm trying to encrypt/decr

Re: RSA and DES encryption and decryption with C++ on Windows

2022-04-10 Thread John Alway
Thank you and Kenneth for your replies. I was given this task by someone with all of these specifics, including the site to download the library. Most of the terminology about encryption I'm not familiar with, but I'm learning. I've passed both of your posts and the wisdom in them on to him to

RE: RSA and DES encryption and decryption with C++ on Windows

2022-04-10 Thread Michael Wojcik
> From: openssl-users On Behalf Of John > Alway > Sent: Saturday, 9 April, 2022 19:45 > From this site https://slproweb.com/products/Win32OpenSSL.html >  I downloaded " Win32 OpenSSL v3.0.2" MSI  Well, I suppose that's one option. Personally I would not use a build from some random website; I'

RE: RSA and DES encryption and decryption with C++ on Windows

2022-04-10 Thread Kenneth Goldman
Anyway, I'm trying to encrypt/decrypt using RSA and DES schemes. I've tried some of the older code examples I could find, but some of the functions weren't recognized by my header files. [kgold] You cannot encrypt long streams with RSA. DES is deprecated. Can anyone help me with this? I want

RSA and DES encryption and decryption with C++ on Windows

2022-04-09 Thread John Alway
Hello, I'm a C++ programmer. I recently downloaded and installed the OpenSSL library to my Windows 10 machine. >From this site https://slproweb.com/products/Win32OpenSSL.html I downloaded " Win32 OpenSSL v3.0.2" MSI I'm using Visual Studio 2019. Anyway, the long and short of it is that I a

Help using openssl source code for AES/DES encryption/decryption

2020-05-18 Thread Deep D. Patel
Hello, I want to add openssl 1.0.2u source code to support AES, DES algorithms in my existing project to build the executable (using Cross Arm GCC C/C++ compiler in Eclipse IDE) for my target environment (32-bit Arm Cortex m3 controller). What are the relevant files/folder of the source code sh

RE: Looking for DES encryption/decryption source example

2009-05-03 Thread Bill Colvin
Why not take a look at destest.c in the test directory? Bill -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Thor Catarius Sent: May 3, 2009 10:01 AM To: openssl-users@openssl.org Subject: Looking for DES encryption

Looking for DES encryption/decryption source example

2009-05-03 Thread Thor Catarius
Hi everyone, I am looking for a sample source file which encrypts/decrypts a String with DES (or better triple DES). I could not find anything useful on google, the only information I have at the moment are the man pages (crypto(3) and des(3)). I don't want to encrypt/decrypt using the openssl

Re: Generating Keys in Triple-DES encryption

2008-03-27 Thread jimmy bahuleyan
Ambarish Mitra wrote: Ambarish Mitra wrote: Hi Jimmy, Thanks for your response. Kindly find my thoughts inlined.. Question: So, the question is: How can we generate a key for Triple DES encryption and write out the same in a file? Simple answer for 'how to generate a key for a symm

RE: Generating Keys in Triple-DES encryption

2008-03-27 Thread Ambarish Mitra
Ambarish Mitra wrote: > Hi Jimmy, Thanks for your response. Kindly find my thoughts inlined.. > >> Question: >> So, the question is: How can we generate a key for Triple DES encryption and >> write out the same in a file? >> > > Simple answer for 'how to

Re: Generating Keys in Triple-DES encryption

2008-03-27 Thread jimmy bahuleyan
Ambarish Mitra wrote: Hi Jimmy, Thanks for your response. Kindly find my thoughts inlined.. Question: So, the question is: How can we generate a key for Triple DES encryption and write out the same in a file? Simple answer for 'how to generate a key for a symmetric cipher' is 

RE: Generating Keys in Triple-DES encryption

2008-03-26 Thread Ambarish Mitra
Hi Jimmy, Thanks for your response. Kindly find my thoughts inlined.. > Question: > So, the question is: How can we generate a key for Triple DES encryption and > write out the same in a file? > Simple answer for 'how to generate a key for a symmetric cipher' is 'us

Re: Generating Keys in Triple-DES encryption

2008-03-26 Thread jimmy bahuleyan
applications are to read the key from the file. Now, we have to generate the key and then write out the key in the file. Question: So, the question is: How can we generate a key for Triple DES encryption and write out the same in a file? Simple answer for 'how to generate a key for a symmetric c

Generating Keys in Triple-DES encryption

2008-03-26 Thread Ambarish Mitra
key from the file. Now, we have to generate the key and then write out the key in the file. Question: So, the question is: How can we generate a key for Triple DES encryption and write out the same in a file? I tried the genrsa and dsa options but they seem to generate keys for RSA/DSA

Triple-DES encryption and decryption - function: des_ede3_cbc_encrypt

2007-11-26 Thread Ambarish Mitra
// This mail will go with a forcefully attached disclaimer. Please ignore the same. I know that this message will be archived. Hi all, I am using triple-DES to encrypt and decrypt a string. The openssl function that I call is: des_ede3_cbc_encrypt. I set an IV, and 3 keys for this purpose. I have

Re: DES encryption using Engine

2005-03-04 Thread Nils Larsch
_safenet(); cryptoEngine = ENGINE_by_id(engineId); if (!cryptoEngine){ cout<<"SafeNet Crypto Engine not found!"< My questions are: - Can one use the same openssl commands like des_ncbc_encrypt() to perform des encryption using the engine once it has been initial

DES encryption using Engine

2005-03-04 Thread Abhinav Gupta
Engine = ENGINE_by_id(engineId); if (!cryptoEngine){ cout<<"SafeNet Crypto Engine not found!"< My questions are: - Can one use the same openssl commands like des_ncbc_encrypt() to perform des encryption using the engine once it has been initialized or is there a sepa

DES Encryption/Decryption with IV

2002-08-01 Thread J
Hello Everyone, Has anyone had any experience using DES Decryption routines to decrypt a 16 byte ciphertext into the original using an IV?? I am receiving the IV and the Encrypted Data from a server that is using the MS Crypto API for des encryption and decryption. The mode is CBC (Cipher

DES Encryption

2001-08-07 Thread Shobhit Kanaujia
anyone help me interpret what this output means. ALso any other ways of doing des encryption?(Other than using the openssl enc command?) Thanks, Shobhit Kanaujia QA/ Test Intern Netoctave, Inc. RTP, NC 27709 U.S.A. (919) 463-9903 ext. 342. [EMAIL PROTECTED