TAY
Fork of Crypto_light by
Cipher.cpp@0:7a1237bd2d13, 2013-09-07 (annotated)
- Committer:
- feb11
- Date:
- Sat Sep 07 23:47:28 2013 +0000
- Revision:
- 0:7a1237bd2d13
initial import
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feb11 | 0:7a1237bd2d13 | 1 | #include "Cipher.h" |
feb11 | 0:7a1237bd2d13 | 2 | |
feb11 | 0:7a1237bd2d13 | 3 | Cipher::~Cipher() |
feb11 | 0:7a1237bd2d13 | 4 | { |
feb11 | 0:7a1237bd2d13 | 5 | } |
feb11 | 0:7a1237bd2d13 | 6 | |
feb11 | 0:7a1237bd2d13 | 7 | |
feb11 | 0:7a1237bd2d13 | 8 | CIPHER_TYPE Cipher::getType() const |
feb11 | 0:7a1237bd2d13 | 9 | { |
feb11 | 0:7a1237bd2d13 | 10 | return getBlockSize() <= 1 ? STREAM_CIPHER : BLOCK_CIPHER; |
feb11 | 0:7a1237bd2d13 | 11 | } |
feb11 | 0:7a1237bd2d13 | 12 |