Skip to main content

HashSeed

func HashSeed(ctx context.Context, seed io.Reader) (Digest, error)

HashSeed computes SHA-256 over any seed bytes without validating its length.

Parameters

NameTypeDescription
ctxcontext.ContextParameter ctx of HashSeed.
seedio.ReaderParameter seed of HashSeed.

Returns

(Digest, error)

Source

This page is generated from SDK source metadata and the translation catalog.