代码搜索:DES加密
找到约 10,000 项符合「DES加密」的源代码
代码结果 10,000
www.eeworm.com/read/377547/9271726
h des.h
// DES.h: interface for the DES class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DES_H__30E4BD94_DC18_40DA_88E2_7C79D13DF16E__INCLUDED_)
#define
www.eeworm.com/read/377451/9275830
txt des.txt
偶尔想到数据加密技术,这里顺便提一下双向加密的标准DES。以前在一个宽带流媒体服务器项目中用到了<mark>DES加密</mark>,虽然使用环境相对单纯,但算法实现本身是具有普遍意义的。下述程序是很久以前在RSA公司的网站找到的,效率很高,稳定性较好,便一直在实践中使用。
首先在头文件中定义一个DES类:
//des.h
#ifndef __DES_H
#define __DES_H
class D ...
www.eeworm.com/read/180690/9298136
cs des.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Des
www.eeworm.com/read/180354/9311282
c des.c
#include
#include
#include
#include
#include
#include "des.h"
#define SUCCESS 0
#define FAIL -1
#define READFILESIZE 512
#define W
www.eeworm.com/read/376554/9314801
txt des.txt
#include
#include
#define ENCRYPT 1
#define DECRYPT 0
typedef char bool;
// 16 sub keys
static bool SubKey[16][48];
// Permuted Choice 1 (PC-1)
const static char
www.eeworm.com/read/180166/9317427
sln des.sln
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DES", "DES.csproj", "{1E101223-E7BD-4F07-98E2-96B15AD016CC}"
ProjectSection(ProjectDe
www.eeworm.com/read/180166/9317435
suo des.suo
www.eeworm.com/read/180080/9320405
c des.c
/* header include files -- defines (.h) */
#include "envopt.h" /* environment options */
#include "envdep.h" /* environment dependent */
#include "envind.h" /* environment inde