package hkdf

import "crypto/internal/fips140/hkdf"

Index

Functions

func Expand

func Expand[H hash.Hash](h func() H, pseudorandomKey []byte, info string, keyLen int) []byte

func Extract

func Extract[H hash.Hash](h func() H, secret, salt []byte) []byte

func Key

func Key[H hash.Hash](h func() H, secret, salt []byte, info string, keyLen int) []byte

Source Files

cast.go hkdf.go

Version
v1.25.0-rc.1
Published
Jun 11, 2025
Platform
js/wasm
Imports
7 packages
Last checked
51 seconds ago

Tools for package owners.