Merge pull request #113 from tesselode/fix-multi-targets
[wdl/wdl-ol.git] / WDL / des.h
blob260eb6a54d16cc24d67019958c40e7c5d4998d8d
1 /* Loosely based on:
3 * D3DES (V5.09) -
5 * A portable, public domain, version of the Data Encryption Standard.
7 * Written with Symantec's THINK (Lightspeed) C by Richard Outerbridge.
9 * Copyright (c) 1988,1989,1990,1991,1992 by Richard Outerbridge.
10 * (GEnie : OUTER; CIS : [71755,204]) Graven Imagery, 1992.
14 #ifndef _WDL_DES_H_
15 #define _WDL_DES_H_
18 class WDL_DES
20 public:
21 WDL_DES();
22 ~WDL_DES();
24 void SetKey(const unsigned char *key8, bool isEncrypt);
26 void Process8(unsigned char *buf8);
28 private:
30 unsigned int m_keydata[32];
34 #endif