Mercurial > projects > dcrypt
comparison dcrypt/crypto/BlockCipher.d @ 27:8b5eaf3c2979
Fixed error in hash message padding reported by Glenn Haecker.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Sat, 09 May 2009 23:29:20 -0400 |
parents | cd376996cdb3 |
children |
comparison
equal
deleted
inserted
replaced
26:176c933827a8 | 27:8b5eaf3c2979 |
---|---|
10 | 10 |
11 public import dcrypt.crypto.Cipher; | 11 public import dcrypt.crypto.Cipher; |
12 public import dcrypt.crypto.params.SymmetricKey; | 12 public import dcrypt.crypto.params.SymmetricKey; |
13 | 13 |
14 /** Interface for a standard block cipher. */ | 14 /** Interface for a standard block cipher. */ |
15 abstract class BlockCipher : Cipher { | 15 abstract class BlockCipher : Cipher |
16 { | |
16 | 17 |
17 /** Returns: The block size in bytes that this cipher will operate on. */ | 18 /** Returns: The block size in bytes that this cipher will operate on. */ |
18 uint blockSize(); | 19 uint blockSize(); |
19 } | 20 } |