简单的DES实现 [英] Simple DES implementation
问题描述
你好
我被赋予了使用
对DES算法实施蛮力攻击的任务
并行集群系统,为此我需要一个简单的des加密器和解密器代码.
我已经在Crypto ++中看到了des.h和des.cpp,但这没有用,因为我对头文件和类不是很熟悉.
有人可以帮我如何使用Crypto ++进行操作.您真是太好了.预先感谢您.
PS:我知道过时了.我的项目目标是熟悉并行集群系统.
hello
i have been given a task to implement Brute force attack on DES algorithms using
Parallel cluster system, for which i need a simple des encrypter and decrypter code.
I have seen the des.h and des.cpp in Crypto++ but it is of no use because i am not very much familiar with header files and classes.
Can someone please help me how to do it using Crypto++.it would be so nice of you.Bundle of thanks in advance.
PS:i know des is obsolete.The objective of my project is get familiar with parallel cluster system.
推荐答案
如果您不熟悉类和头文件您将在C ++中实现任何乐趣.如果您是我,我会全神贯注于include和abstract数据类型,然后使用libcrypto,它是 OpenSSL [ ^ ]分发.它是一个C库而不是C ++库,但是其中包含了大多数通用密码的非常有效的实现.
使用您喜欢的编程语言也是一个好主意. C和C ++对于自学成才的新手可能是非常宽容的.
干杯,
灰
If you''re not familiar with classes and header files you''re going to have fun implementing anything in C++. If I were you I''d wrap my head around includes and abstract data types and then use libcrypto which is part of the OpenSSL[^] distribution. It''s a C library rather than a C++ one but it''s got some very efficient implementations of most of the common cyphers in it.
It might also be a good idea to use a programming language you''re comfortable with. C and C++ can be very unforgiving for self taught neophytes.
Cheers,
Ash
这篇关于简单的DES实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!