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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

rot13demo/v0 package

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.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

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"

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/rot13demo/v0.Render()"

Result