package lthash
import "go.mau.fi/whatsmeow/appstate/lthash"
Package lthash implements a summation based hash algorithm that maintains the integrity of a piece of data over a series of mutations. You can add/remove mutations, and it'll return a hash equal to if the same series of mutations was made sequentially.
Index ¶
Variables ¶
WAPatchIntegrity is a LTHash instance initialized with the details used for verifying integrity of WhatsApp app state sync patches.
Types ¶
type LTHash ¶
func (LTHash) SubtractThenAdd ¶
func (LTHash) SubtractThenAddInPlace ¶
Source Files ¶
lthash.go
- Version
- v0.0.0-20250326122532-6680c9a6e9a7 (latest)
- Published
- Mar 26, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 hours ago –
Tools for package owners.