Mercurial > projects > dcrypt
comparison dcrypt/crypto/StreamCipher.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 |
---|---|
11 public import dcrypt.crypto.Cipher; | 11 public import dcrypt.crypto.Cipher; |
12 public import dcrypt.crypto.params.CipherParameters; | 12 public import dcrypt.crypto.params.CipherParameters; |
13 public import dcrypt.crypto.params.SymmetricKey; | 13 public import dcrypt.crypto.params.SymmetricKey; |
14 | 14 |
15 /** Interface for a standard stream cipher. */ | 15 /** Interface for a standard stream cipher. */ |
16 abstract class StreamCipher : Cipher { | 16 abstract class StreamCipher : Cipher |
17 { | |
17 /** | 18 /** |
18 * Process one byte of input. | 19 * Process one byte of input. |
19 * | 20 * |
20 * Params: | 21 * Params: |
21 * input = Byte to XOR with keystream. | 22 * input = Byte to XOR with keystream. |