Documentation ¶ Index ¶ Constants func New(b []byte) hash.Hashlib type SHA512 func (s *SHA512) BlockSize() int func (s SHA512) Copy() *SHA512 func (s *SHA512) Digest() []byte func (s *SHA512) Hexdigest() string func (s *SHA512) Name() string func (s *SHA512) Update(b []byte) Constants ¶ View Source const ( // The size of a SHA-512 checksum in bytes. Size = 64 // The blocksize of SHA-512 in bytes. BlockSize = 128 // The name of SHA-512 Name = "SHA512" ) Variables ¶ This section is empty. Functions ¶ func New ¶ func New(b []byte) hash.Hashlib Types ¶ type SHA512 ¶ type SHA512 struct { Bytes []byte Hash hash.Hash } func (*SHA512) BlockSize ¶ func (s *SHA512) BlockSize() int func (SHA512) Copy ¶ func (s SHA512) Copy() *SHA512 func (*SHA512) Digest ¶ func (s *SHA512) Digest() []byte func (*SHA512) Hexdigest ¶ func (s *SHA512) Hexdigest() string func (*SHA512) Name ¶ func (s *SHA512) Name() string func (*SHA512) Update ¶ func (s *SHA512) Update(b []byte) Source Files ¶ View all Source files sha512.go Click to show internal directories. Click to hide internal directories.