md4

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package md4 implements the MD4 hash algorithm as defined in RFC 1320.

Vendored verbatim from golang.org/x/crypto/md4 at v0.54.0 (where it is deprecated and frozen) so the probe carries no dependency on the x/crypto module; see LICENSE in this directory. MD4 is cryptographically broken and is used here only for MSCHAPv2 NT-hash interoperability (RFC 2759), never as a security primitive. The only local change is dropping the crypto.RegisterHash init side effect.

Index

Constants

View Source
const BlockSize = 64

The blocksize of MD4 in bytes.

View Source
const Size = 16

The size of an MD4 checksum in bytes.

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the MD4 checksum.

Types

This section is empty.

Jump to

Keyboard shortcuts

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