package hkdf

import "crypto/internal/fips140/hkdf"

Index

Functions

func Expand

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

func Extract

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

func Key

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

Source Files

cast.go hkdf.go

Version
v1.24.1 (latest)
Published
Feb 27, 2025
Platform
js/wasm
Imports
6 packages
Last checked
9 seconds ago

Tools for package owners.