package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Functions
ComputeSHA256 returns SHA2-256 on data.
ComputeSHA3256 returns SHA3-256 on data.
ConcatenateBytes is useful for combining multiple arrays of bytes, especially for signatures or digests over multiple fields This way is more efficient in speed.
CreateUtcTimestamp returns a google/protobuf/Timestamp in UTC.
ExtractCertificateFromContext returns the TLS certificate (if applicable) from the given context of a gRPC stream.
ExtractCertificateHashFromContext extracts the hash of the certificate from the given context.
ExtractRawCertificateFromContext returns the raw TLS certificate (if applicable) from the given context of a gRPC stream.
GenerateBytesUUID returns a UUID based on RFC 4122 returning the generated bytes.
GenerateUUID returns a UUID based on RFC 4122.
ToChaincodeArgs converts string args to []byte args.