source:
chevmsgr/trunk/crypto.h@
7
Last change on this file since 7 was 7, checked in by , 9 years ago | |
---|---|
File size: 337 bytes |
Line | |
---|---|
1 | #pragma once |
2 | |
3 | #include "cf/bin.h" |
4 | #include "aria.h" |
5 | |
6 | class crypto |
7 | { |
8 | private: |
9 | CHEV_ARIA_INFO info; |
10 | |
11 | public: |
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.