Documentation ¶
Index ¶
- func ComputeSHA256(data []byte) (hash []byte)
- func ComputeSHA3256(data []byte) (hash []byte)
- func ConcatenateBytes(data ...[]byte) []byte
- func CreateUtcTimestamp() *timestamp.Timestamp
- func ExtractRemoteAddress(ctx context.Context) string
- func GenerateBytesUUID() []byte
- func GenerateUUID() string
- func ToChaincodeArgs(args ...string) [][]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSHA256 ¶
ComputeSHA256 returns SHA2-256 on data
func ComputeSHA3256 ¶
ComputeSHA3256 returns SHA3-256 on data
func ConcatenateBytes ¶
ConcatenateBytes is useful for combining multiple arrays of bytes, especially for signatures or digests over multiple fields
func CreateUtcTimestamp ¶
CreateUtcTimestamp returns a google/protobuf/Timestamp in UTC
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.