Skip to content

Conversation

@waqas-kiffal-10p
Copy link

Signed-off-by: Waqas Kiffal waqas.kiffal@tenpearls.com

3des/3des.c Outdated

DES_cblock cblock = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

char string[] = "I am a software developer";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take plaintext input as CLI argument.
nit: Also, rename string to plaintext maybe?

3des/3des.c Outdated
{
DES_cblock cb1 = {0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE};
DES_cblock cb2 = {0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE};
DES_cblock cb3 = {0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE, 0xAE};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we take these keys as arguments as well in hex format?

Signed-off-by: Waqas Kiffal <waqas.kiffal@tenpearls.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants