tango.util.digest.Sha1

License:

BSD style: see doc/license.txt for details

Version:

Initial release: Feb 2006

Author:

Regan Heath, Oskar Linde

This module implements the SHA-1 Algorithm described by Secure Hash Standard, FIPS PUB 180-1, and RFC 3174 US Secure Hash Algorithm 1 (SHA1). D. Eastlake 3rd, P. Jones. September 2001.
class Sha1 : Sha01 [final]
this()
Construct a Sha1 hash algorithm context
void transform(const(ubyte[]) input) [protected, override, final]
Performs the cipher on a block of data

Parameters:

datathe block of data to cipher

Remarks:

The actual cipher algorithm is carried out by this method on the passed block of data. This method is called for every blockSize() bytes of input data and once more with the remaining data padded to blockSize().
void expand(uint[] W, uint s) [static, final]