Documentation ¶
Overview ¶
Package notsha256 implements the NOTSHA256 algorithm, a hash defined as bitwise NOT of SHA256. It is used in situations where exact fidelity to SHA256 is unnecessary. In particular, it is used in the compiler toolchain, which cannot depend directly on cgo when GOEXPERIMENT=boringcrypto (and in that mode the real sha256 uses cgo).
Index ¶
Constants ¶
View Source
const BlockSize = 64
The blocksize in bytes.
View Source
const Size = 32
The size of a checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.