Help us shape the future of Go! Take the 2026 Go Developer Survey

dbhash

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package dbhash implements the dropbox hash as described in

https://www.dropbox.com/developers/reference/content-hash

Index

Constants

View Source
const (
	// BlockSize of the checksum in bytes.
	BlockSize = sha256.BlockSize
	// Size of the checksum in bytes.
	Size = sha256.BlockSize
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the Dropbox checksum.

func Sum

func Sum(data []byte) [Size]byte

Sum returns the Dropbox checksum of the data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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