ComputeHashString
Generates a deterministic hash as a base64 encoded string for the provided protobuf object.
def ComputeHashString(
ctx: context.Context,
pb: proto.Message
) - > string
Generate a deterministic hash as a base64 encoded string for the pb object.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, allowing cancellation or carrying request-scoped values. |
| pb | proto.Message | The protobuf message object for which to compute the deterministic hash. |
Returns
| Type | Description |
|---|---|
string | The base64 encoded string representation of the deterministic hash. |