Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source realm

Package rot13demo is a small gnoweb demo of the ROT13 / Caesar cipher provided by the [p/moul/x/daily/rot13](/p/moul/...

Readme View source

gno.land/r/moul/x/daily/rot13demo/v0

Interactive gnoweb demo of the p/moul/x/daily/rot13 ROT13 / Caesar library — it renders an explanation, a worked ROT13 example, and path-driven ROT13 and Caesar transforms. It has no cipher logic of its own.

Append text to the path to ROT13 it, e.g. /r/moul/x/daily/rot13demo/v0:Uryyb, Tab!, or use /caesar/<shift>/<text> for a general Caesar shift.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/daily/rot13demo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.

Overview

Package rot13demo is a small gnoweb demo of the ROT13 / Caesar cipher provided by the p/moul/x/daily/rot13(/p/moul/x/daily/rot13/v0) library: it renders an explanation, a worked ROT13 example, and interactive path-driven ROT13 and Caesar transforms.

It contains no cipher logic of its own — everything comes from `rot13.Rot13` and `rot13.Caesar`. Render reads its input straight from the gnoweb path.

Functions 1

func Render

1func Render(path string) string
source

Render is the gnoweb entry point (not a crossing call).

Example
1Render("")                 -> explanation + a worked example
2Render("/Hello, Gno!")     -> the input and its ROT13
3Render("/caesar/3/attack") -> a Caesar shift of 3 applied to "attack"

Imports 3

Source Files 3