Documentation
¶
Index ¶
Constants ¶
View Source
const ( Md5 int8 = iota Sha224 Sha256 Sha384 Sha512 Sha512224 Sha512256 Hmac512 )
Md5 are our enumerators Sha224 Sha256 Sha384 Sha512 Sha512224 Sha512256 Hmac512
Variables ¶
This section is empty.
Functions ¶
func CreateRandomBytes ¶
CreateRandomBytes creates a random bytes of bytes int
func CreateRandomString ¶
CreateRandomString generates a random string of n bytes
Types ¶
type MHash ¶
type MHash struct { Output string // contains filtered or unexported fields }
MHash our input/output tracking struct
func (*MHash) Hash ¶
func (h *MHash) Hash()
Hash performs our hash, fills in Output, and unsets input
func (*MHash) MarshalJSON ¶
MarshalJSON implements the JSON encoding interface
Click to show internal directories.
Click to hide internal directories.