// New returns a new sha512 hash.Hash
// if the returned hash is empty, then make a call to sslerr.Error()
New returns a new sha512 hash.Hash
if the returned hash is empty, then make a call to sslerr.Error()
// New returns a new sha512 hash . Hash // if the returned hash is empty then make a call to sslerr . Error ()
func New() hash.Hash {
	d := new(digest)
	d.function = crypto.SHA512
	if C.SHA512_Init(&d.ctx) != 1 {
		return nil
	}
	return d
}
func New ( ) hash . Hash { d := new ( digest ) d . function = crypto . SHA512 if C . SHA512_Init ( & d . ctx ) != 1 { return nil } return d }
New returns a new sha512 hash.Hash
if the returned hash is empty, then make a call to sslerr.Error()
New returns a new sha512 hash . Hash if the returned hash is empty then make a call to sslerr . Error ()