From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/go/crypto%2Fsha512%2Findex.html | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 devdocs/go/crypto%2Fsha512%2Findex.html (limited to 'devdocs/go/crypto%2Fsha512%2Findex.html') diff --git a/devdocs/go/crypto%2Fsha512%2Findex.html b/devdocs/go/crypto%2Fsha512%2Findex.html new file mode 100644 index 00000000..8d8cd3d6 --- /dev/null +++ b/devdocs/go/crypto%2Fsha512%2Findex.html @@ -0,0 +1,44 @@ +

Package sha512

Overview

Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4.

+

All the hash.Hash implementations returned by this package also implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.

Index

Package files

sha512.go sha512block.go sha512block_amd64.go

Constants

const (
+    // Size is the size, in bytes, of a SHA-512 checksum.
+    Size = 64
+
+    // Size224 is the size, in bytes, of a SHA-512/224 checksum.
+    Size224 = 28
+
+    // Size256 is the size, in bytes, of a SHA-512/256 checksum.
+    Size256 = 32
+
+    // Size384 is the size, in bytes, of a SHA-384 checksum.
+    Size384 = 48
+
+    // BlockSize is the block size, in bytes, of the SHA-512/224,
+    // SHA-512/256, SHA-384 and SHA-512 hash functions.
+    BlockSize = 128
+)

func New

func New() hash.Hash

New returns a new hash.Hash computing the SHA-512 checksum.

+

func New384

func New384() hash.Hash

New384 returns a new hash.Hash computing the SHA-384 checksum.

+

func New512_224 1.5

func New512_224() hash.Hash

New512_224 returns a new hash.Hash computing the SHA-512/224 checksum.

+

func New512_256 1.5

func New512_256() hash.Hash

New512_256 returns a new hash.Hash computing the SHA-512/256 checksum.

+

func Sum384 1.2

func Sum384(data []byte) [Size384]byte

Sum384 returns the SHA384 checksum of the data.

+

func Sum512 1.2

func Sum512(data []byte) [Size]byte

Sum512 returns the SHA512 checksum of the data.

+

func Sum512_224 1.5

func Sum512_224(data []byte) [Size224]byte

Sum512_224 returns the Sum512/224 checksum of the data.

+

func Sum512_256 1.5

func Sum512_256(data []byte) [Size256]byte

Sum512_256 returns the Sum512/256 checksum of the data.

+

+ © Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
+ http://golang.org/pkg/crypto/sha512/ +

+
-- cgit v1.2.3