Module: stdgo.crypto.sha1
Overview
Index
-
function benchmarkHash320Bytes(_b:stdgo._internal.testing.B):Void
-
function benchmarkHash8Bytes(_b:stdgo._internal.testing.B):Void
-
function testAllocations(_t:stdgo._internal.testing.T_):Void
-
function testBlockGeneric(_t:stdgo._internal.testing.T_):Void
-
function testGoldenMarshal(_t:stdgo._internal.testing.T_):Void
-
function testLargeHashes(_t:stdgo._internal.testing.T_):Void
Constants
import stdgo.crypto.sha1.Sha1
final blockSize:haxe.UInt64 = stdgo._internal.crypto.sha1.Sha1_blockSize.blockSize
final size:haxe.UInt64 = stdgo._internal.crypto.sha1.Sha1_size.size
Classes
import stdgo.crypto.sha1.*
class Sha1
Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174.
SHA-1 is cryptographically broken and should not be used for secure applications.
Sha1 function benchmarkHash1K
function benchmarkHash1K(_b:stdgo._internal.testing.B):Void
Sha1 function benchmarkHash320Bytes
function benchmarkHash320Bytes(_b:stdgo._internal.testing.B):Void
Sha1 function benchmarkHash8Bytes
function benchmarkHash8Bytes(_b:stdgo._internal.testing.B):Void
Sha1 function benchmarkHash8K
function benchmarkHash8K(_b:stdgo._internal.testing.B):Void
Sha1 function new_
function new_():stdgo._internal.hash.Hash
New returns a new hash.Hash computing the SHA1 checksum. The Hash also
implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to
marshal and unmarshal the internal state of the hash.
Sha1 function sum
function sum(_data:Array<UInt>):haxe.ds.Vector<UInt>
Sum returns the SHA-1 checksum of the data.
Sha1 function testAllocations
function testAllocations(_t:stdgo._internal.testing.T_):Void
Sha1 function testBlockGeneric
function testBlockGeneric(_t:stdgo._internal.testing.T_):Void
Tests that blockGeneric (pure Go) and block (in assembly for some architectures) match.
Sha1 function testBlockSize
function testBlockSize(_t:stdgo._internal.testing.T_):Void
Sha1 function testGolden
function testGolden(_t:stdgo._internal.testing.T_):Void
Sha1 function testGoldenMarshal
function testGoldenMarshal(_t:stdgo._internal.testing.T_):Void
Sha1 function testLargeHashes
function testLargeHashes(_t:stdgo._internal.testing.T_):Void
Sha1 function testSize
function testSize(_t:stdgo._internal.testing.T_):Void