package sha512_crypt
import "github.com/tredoe/osutil/user/crypt/sha512_crypt"
Package sha512_crypt implements Ulrich Drepper's SHA512-crypt password hashing algorithm.
The specification for this algorithm can be found here: http://www.akkadia.org/drepper/SHA-crypt.txt
Index ¶
Constants ¶
const ( MagicPrefix = "$6$" SaltLenMin = 1 SaltLenMax = 16 RoundsMin = 1000 RoundsMax = 999999999 RoundsDefault = 5000 )
Functions ¶
func GetSalt ¶
func New ¶
New returns a new crypt.Crypter computing the SHA512-crypt password hashing.
Source Files ¶
- Version
- v1.5.0 (latest)
- Published
- Jun 4, 2024
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 20 hours ago –
Tools for package owners.