Skip to content

Instantly share code, notes, and snippets.

View EIREXE's full-sized avatar

Álex Román Núñez EIREXE

View GitHub Profile
@EIREXE
EIREXE / EROSteganography.gd
Created January 30, 2018 01:37
Steganography for the godot engine
extends Node
const STEGANO_MAGIC_NUMBER = [0x45, 0x52, 0x4f, 0x31] #ERO1
const STEGANO_CHUNK_END = [0x45, 0x52, 0x4f, 0x45] #EROE
const BITS_PER_BYTE = 2 # How many bits we take from each one, 1 is the least singificant bit
const STEGANO_FORMAT_VERSION = 1