What version of Go are you using (go version)?
$ go version 1.12.2
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GOHOSTARCH="amd64" GOHOSTOS="linux"
What did you do?
I want to be able to export newDigest for blake2s. blake2s.New128 and blake2s.New256 are great, but I want to interface with one function that can take hash size as an input (like blake2b.New)
What did you expect to see?
I want something like blake2b.New, but for blake2s. One way to make that easy is just export blake2s.newDigest
What did you see instead?
function isn't available for export in the package
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
I want to be able to export newDigest for blake2s. blake2s.New128 and blake2s.New256 are great, but I want to interface with one function that can take hash size as an input (like blake2b.New)
What did you expect to see?
I want something like blake2b.New, but for blake2s. One way to make that easy is just export blake2s.newDigest
What did you see instead?
function isn't available for export in the package