Documentation
¶
Overview ¶
Package xsha1 provides NEO-flavoured SHA1 sum.
It is the same as regular SHA1, but returns all-zeros for empty input.
Besides, checksum computation can be switched to be noop if requested so from environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Skip bool
Skip controls and indicates whether NEOSum skips SHA1 computation.
It is used for benchmarking to see how much sha1 computation takes time from latency.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.