apr1_crypt

package
v0.0.0-...-8cc1b52 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: BSD-2-Clause Imports: 3 Imported by: 17

Documentation

Overview

Package apr1_crypt implements the standard Unix MD5-crypt algorithm created by Poul-Henning Kamp for FreeBSD, and modified by the Apache project.

The only change from MD5-crypt is the use of the magic constant "$apr1$" instead of "$1$". The algorithms are otherwise identical.

Index

Constants

View Source
const (
	MagicPrefix   = "$apr1$"
	SaltLenMin    = 1
	SaltLenMax    = 8
	RoundsDefault = 1000
)

Variables

This section is empty.

Functions

func New

func New() crypt.Crypter

New returns a new crypt.Crypter computing the variant "apr1" of MD5-crypt

Types

This section is empty.

Jump to

Keyboard shortcuts

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