source: chevmsgr/trunk/crypto.h@ 7

Last change on this file since 7 was 7, checked in by cheese, 9 years ago

암복호 알고리즘 추가

File size: 337 bytes
Line 
1#pragma once
2
3#include "cf/bin.h"
4#include "aria.h"
5
6class crypto
7{
8private:
9 CHEV_ARIA_INFO info;
10
11public:
12 crypto();
13
14 void setKey(cf::bin & key);
15
16 cf::bin sha256(cf::bin & input);
17
18 cf::bin encrypt(cf::bin & input);
19
20 cf::bin decrypt(cf::bin & input);
21
22 cf::bin getPaddingBytes(int blockSize, int inputSize);
23};
Note: See TracBrowser for help on using the repository browser.