Component
AtbashNotice
The readable label is transformed with a reversible alphabet mirror: A becomes Z, B becomes Y and so on, while spaces and punctuation remain intact. The cipher is visible, deterministic and unnecessary.
Possible use
It could let a reviewer hide a handoff phrase behind a reversible secret identity, or let a presenter reveal an agenda line as a tiny cryptographic artifact before restoring it. Neither use benefits from making copy unreadable.
Reasonable alternative
A reasonable local alternative is rendering the text normally and calling a local cipher utility only where a real protocol requires it. A visible Atbash notice confuses a demo with security.
01 / Preview
Try it yourself.
Prepare the ordinary handoff
Mechanism
- 1
- Start with a readable notice.
- 2
- Mirror every letter through the alphabet; spaces and punctuation survive.
- 3
- Restore the original notice when the cipher has made its point.
02 / Usage
Put it somewhere.
example.tsxTSX
import { AtbashNotice } from "gra-ui";
import "gra-ui/styles.css";
export function MirroredNotice() {
return <AtbashNotice label="Prepare the ordinary handoff" />;
}03 / API
Small surface area.
PropTypeDescription
labelstringThe readable text transformed by the reversible alphabet mirror.