more ~master (2021-04-25T17:22:00Z)
Home
Dub
Repo
Sha1Builder
more
sha
Undocumented in source.
struct
Sha1Builder {
enum
HashByteLength
;
enum
BlockByteLength
;
enum
InitialHash
;
enum
uint
K_0
;
enum
uint
K_1
;
enum
uint
K_2
;
enum
uint
K_3
;
ubyte
[
BlockByteLength
]
unhashedBlock
;
ulong
totalBlocksHashed
;
Sha1
currentHash
;
ubyte
blockIndex
;
void
put
(const(T)[] data);
Sha1
finish
();
}
Members
Functions
finish
Sha1
finish
()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void
put
(const(T)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
BlockByteLength
enum
BlockByteLength
;
Undocumented in source.
HashByteLength
enum
HashByteLength
;
Undocumented in source.
InitialHash
enum
InitialHash
;
Undocumented in source.
Variables
K_0
enum
uint
K_0
;
Undocumented in source.
K_1
enum
uint
K_1
;
Undocumented in source.
K_2
enum
uint
K_2
;
Undocumented in source.
K_3
enum
uint
K_3
;
Undocumented in source.
blockIndex
ubyte
blockIndex
;
Undocumented in source.
currentHash
Sha1
currentHash
;
Undocumented in source.
totalBlocksHashed
ulong
totalBlocksHashed
;
Undocumented in source.
unhashedBlock
ubyte
[
BlockByteLength
]
unhashedBlock
;
Undocumented in source.
Meta
Source
See Implementation
more
sha
functions
circularLeftShift
sha1Hash
structs
Sha1Builder
unions
Sha1