merge of '85a542c53d910dffbf34cdcefb8a2faeee96adc4'

and 'c92f2bcd662936f16d539ea5e98b0d4496556384'
This commit is contained in:
mathiasdm
2010-08-08 10:01:51 +00:00

View File

@@ -45,7 +45,7 @@ import net.i2p.util.RandomSource;
/**
* Wrapper for ElGamal encryption/signature schemes.
*
* Does all of Elgamal now for data sizes of 223 bytes and less. The data to be
* Does all of Elgamal now for data sizes of 222 bytes and less. The data to be
* encrypted is first prepended with a random nonzero byte, then the 32 bytes
* making up the SHA256 of the data, then the data itself. The random byte and
* the SHA256 hash is stripped on decrypt so the original data is returned.