deviceset

package
v1.260904.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package deviceset provides the canonical, privacy-preserving identity of an explicit Apple device set shared by signing and artifact inspection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Normalize

func Normalize(value string) string

Normalize removes accepted visual separators and canonicalizes case.

func NormalizeUnique

func NormalizeUnique(values []string) []string

NormalizeUnique returns sorted unique non-empty canonical identifiers.

Types

type Result

type Result struct {
	Count  int
	SHA256 string
}

Result binds a canonical set's unique normalized count and SHA-256 digest.

func Digest

func Digest(values []string) Result

Digest returns a domain-separated, count- and length-framed SHA-256 over the sorted unique normalized identifiers. Empty sets retain an empty digest.

Jump to

Keyboard shortcuts

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