deviceset

package
v1.261125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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