Batteries
Crypto & bytes
Accent
Scheme
Backdrop motion
Batteries

Crypto & bytes

argon2id, SHA-256, random, and bytes in every form.

crypto

crypto.hashSHA-256 of a text or of bytes, as 64 hex digits. A resource works it out again as you type.
sha-256
5cac4f980fedc3d3f1f99b4be3472c9b30d56523e632d151237ec9309048bda9
64 hex digits
19 bytes in
One changed letter changes about half of them.
crypto.random(n)n bytes from the browser's secure source, as hex. The one call here that cannot fail.
n16 bytes
hex
be3a0ad384db9caecc2e4c577596808a
32 hex digits: two for each byte
crypto.argon2idA key from a password and a salt: slow and memory-hungry on purpose. Mote's own wasm, run in a worker, so the page stays live while it works.
password
salt (eight bytes or more)
memory19456 KiB (19 MiB)
time2 passes
parallelism1 lane
length32 bytes
the key, as hex
Press the button.

bytes

A run of bytes is a value of its own. A page cannot show one as it is: pick a form.
bytes("text") and its formsThe text's UTF-8. An arrow or an accent takes more than one byte: try some.
b.hex()
4d 6f 74 65 20 e2 86 92 20 62 79 74 65 73
b.base64()
TW90ZSDihpIgYnl0ZXM=
14b.length12 letters
77b[0]a number, 0 to 255
Mote → bytesb.text()back to the text
iwhich byte b[i] reads
from0
to4
b.slice(0, 4)
4d 6f 74 65
its text()
Mote
A slice that cuts a letter in half shows a replacement mark.
bytes.hex(s) and bytes.base64(s)They read the two forms back into bytes, and can fail: what is typed may not be hex or base64. Break one to see.
hex
4 bytes
"Mote"
base64
14 bytes
"Mote batteries"
b.url()An address for some bytes, with a type if wanted: a picture's src, a link's href. Here the picture is SVG text made by the page, then turned to bytes.
sides6
hue250
turn0°
407 bytes of SVG
Download shape.svg
Any bytes: this text, as a .csvDownload bodies.csv (33 bytes)
esc
Pages
StartStart
Buttons & badgesComponents
Cards & disclosureComponents
Dialogs & drawersComponents
Menus & commandsComponents
Dates & tablesComponents
ChartsComponents
Chart galleryComponents
FieldsComponents
ChoicesComponents
DisplayComponents
NavigationComponents
Popovers & sheetsComponents
MessagesChat & AI
Prompt inputChat & AI
Reasoning & toolsChat & AI
Developer partsChat & AI
ConversationChat & AI
Code artifactsChat & AI
VoiceChat & AI
Code blocksChat & AI
MarkdownChat & AI
EditorElements
TerminalElements
FlowElements
3D boxesElements
PaintElements
SurfaceElements
MediaElements
IconsElements
PrimitivesElements
SQLBatteries
StorageBatteries
Net & resourcesBatteries
Crypto & bytesBatteries
ZipBatteries
TablesBatteries
PDFBatteries
TimeBatteries
ImagesBatteries
ScanBatteries
Video & audioBatteries
SearchBatteries
SyntaxBatteries
PatternsBatteries
NotifyBatteries
ShareBatteries
State & logicLanguage
WorkersLanguage
Events & elementsLanguage
StylingLanguage
RoutesLanguage
ShortcutsLanguage
Long listsLanguage
Failures & tryLanguage
Back endBack end
Models & writesBack end
Rules & failuresBack end
Jobs & schedulesBack end
Running itBack end
ExtensionsBack end
AIBack end
AnalyticsBack end
AboutAbout
↑↓move
↵open
676 places · ranked by BM25