pbhash

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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)

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