roundtrip

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command roundtrip-example embeds a message and extracts it back, exercising the embed and extract packages together.

The extract package follows dependency injection: the caller supplies a Hasher (SHA-1) and a Permutator (Fisher-Yates) plus the PRNG factory, so the extraction PRNG path mirrors embedding exactly. The two small adapters below bridge the upstream sha1 and fisheryates primitives to the extract interfaces.

Jump to

Keyboard shortcuts

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