Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeSHA256

func ComputeSHA256(data []byte) (hash []byte)

    ComputeSHA256 returns SHA2-256 on data

    func ComputeSHA3256

    func ComputeSHA3256(data []byte) (hash []byte)

      ComputeSHA3256 returns SHA3-256 on data

      func ConcatenateBytes

      func ConcatenateBytes(data ...[]byte) []byte

        ConcatenateBytes is useful for combining multiple arrays of bytes, especially for signatures or digests over multiple fields

        func CreateUtcTimestamp

        func CreateUtcTimestamp() *timestamp.Timestamp

          CreateUtcTimestamp returns a google/protobuf/Timestamp in UTC

          func GenerateBytesUUID

          func GenerateBytesUUID() []byte

            GenerateBytesUUID returns a UUID based on RFC 4122 returning the generated bytes

            func GenerateUUID

            func GenerateUUID() string

              GenerateUUID returns a UUID based on RFC 4122

              Types

              This section is empty.

              Source Files