Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CouldBeValidHash ¶
CouldBeValidHash returns `true` if the passed string could be a 32-bytes or 64-bytes hash in hexadecimal representation
Types ¶
type Base64 ¶
type Base64 string
Base64 is the base64 string representation of a byte array. NB: if the passed string is not a valid base64 representation, it will not throw an error but rather returns empty or nil items when methods are called.
type Binary ¶
type Binary string
Binary is the string representation of a binary literal, eg. Binary("1001") would equal to `0b1001` in other languages. NB: if the underlying string is not a valid string representation of a binary, it will not throw an error but rather return an empty or nil item for each method called.
type Ciphered ¶
type Ciphered string
Ciphered is the base64 string representation of a ciphered text.
type Signature ¶
type Signature string
Signature is the hexadecimal string representation of a signature.