SHA1Digest

implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349.

It is interesting to ponder why the, apart from the extra IV, the other difference here from MD5 is the "endianness" of the word processing!

Constructors

this
this()

Standard constructor

Members

Functions

doFinal
uint doFinal(ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
dupImpl
SHA1Digest dupImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
getDigestSize
uint getDigestSize()
Undocumented in source. Be warned that the author may not have intended to support it.
processBlock
void processBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
processLength
void processLength(ulong bitLength)
Undocumented in source. Be warned that the author may not have intended to support it.
processWord
void processWord(ubyte[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()

reset the chaining variables

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From GeneralDigest

update
alias update = put
Undocumented in source.
put
void put(ubyte[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
finish
void finish()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSize
uint blockSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getByteLength
uint getByteLength()
Undocumented in source. Be warned that the author may not have intended to support it.
dup
GeneralDigest dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dupImpl
GeneralDigest dupImpl()

create an independant clone. used by dup()

processWord
void processWord(ubyte[] input)
Undocumented in source.
processLength
void processLength(ulong bitLength)
Undocumented in source.
processBlock
void processBlock()
Undocumented in source.
putSingleByte
void putSingleByte(ubyte input)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta