target.go 182 B

1234567891011
  1. package bep44
  2. import (
  3. "crypto/sha1"
  4. )
  5. type Target = [sha1.Size]byte
  6. func MakeMutableTarget(pubKey [32]byte, salt []byte) Target {
  7. return sha1.Sum(append(pubKey[:], salt...))
  8. }