md5

package
v0.0.0-...-e65efa9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The size of an MD5 checksum in bytes.
	Size = 16

	// The blocksize of MD5 in bytes.
	BlockSize = 64

	// The name of MD5
	Name = "MD5"
)

Variables

This section is empty.

Functions

func New

func New(b []byte) hash.Hashlib

Types

type Md5

type Md5 struct {
	Bytes []byte

	Hash hash.Hash
}

func (*Md5) BlockSize

func (m *Md5) BlockSize() int

func (Md5) Copy

func (m Md5) Copy() *Md5

func (*Md5) Digest

func (m *Md5) Digest() []byte

func (*Md5) Hexdigest

func (m *Md5) Hexdigest() string

func (Md5) Name

func (m Md5) Name() string

func (*Md5) Update

func (m *Md5) Update(b []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL