View on GitHub

arcade-encryption

A MakeCode extension that adds a few different ways to encrypt and decrypt strings.

arcade-encryption

A MakeCode Arcade extension offering multiple lightweight encryption methods — including Base64, Caesar, XOR, Substitution, ROT13, Atbash, and more — all hidden under non-obvious function names for simple obfuscation and privacy. Useful for text-based puzzles, encoding in games, or basic cipher education.

All functions are wrapped in the u8x3 namespace to avoid exposing terms like “Base64” or “cipher” directly in the MakeCode block interface.


Features


Installation

  1. Go to https://arcade.makecode.com

  2. Open your project, click Extensions in the section with the different block types

  3. Paste in the URL in the search bar:

    https://github.com/Dumb-Dumb1/arcade-encryption
    
  4. Click the extension and the blocks will appear under a new category called u8x3


Blocks Overview

Block Function
encrypt [txt] u8x3.e1(txt)
decrypt [dat] u8x3.d2(dat)
encrypt [txt] with Caesar shift u8x3.caesarEncrypt(...)
decrypt [txt] with Caesar shift u8x3.caesarDecrypt(...)
apply XOR cipher to [txt] with key u8x3.xorCipher(...)
generate substitution key u8x3.generateSubstitutionKey()
encrypt [txt] with substitution key u8x3.sE(...)
decrypt [txt] with substitution key u8x3.sD(...)
reverse [txt] u8x3.rC(...)
apply ROT13 to [txt] u8x3.rot13(...)
apply Atbash cipher to [txt] u8x3.atbash(...)

JavaScript / TypeScript Usage

let secret = u8x3.e1("Top Secret!")
let decoded = u8x3.d2(secret)

let caes = u8x3.caesarEncrypt("HELLO", 5)  // MJQQT
let undo = u8x3.caesarDecrypt(caes, 5)

let subKey = u8x3.generateSubstitutionKey()
let coded = u8x3.sE("hello", subKey)
let plain = u8x3.sD(coded, subKey)

Notes


License

MIT © Dumb-Dumb1