By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

How to increase block size in DES encryption/decryption??

P: 52
Hello,
I am making a DES encryption/decryption program using OpenSSL library.
I am using function
Expand|Select|Wrap|Line Numbers
  1. des_ecb_encrypt(des_cblock *input, des_cblock *output, des_cblock *keysched, int mode);
  2.  
This function can encrypt/decrypt only 8bytes block at a time. Thus takes a lot of time during encryption/decryption.

Please tell, if there is any other way/function that can take larger block size, or any other function which implements DES in a faster manner.

Pawan
Feb 23 '07 #1
Share this Question
Share on Google+
1 Reply


DeMan
100+
P: 1,806
I suspect bigger key will give you bigger block, but they should be multiples of 8 bytes (i think)
Feb 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.