pbhash

package
v1.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

This is a package that provides hashing utilities for Protobuf objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeHash

func ComputeHash(ctx context.Context, pb proto.Message) ([]byte, error)

ComputeHash generate a deterministic hash in bytes for the pb object

func ComputeHashString

func ComputeHashString(ctx context.Context, pb proto.Message) (string, error)

Generate a deterministic hash as a base64 encoded string for the pb object.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL