Skip to content

Latest commit

ย 

History

History
34 lines (25 loc) ยท 817 Bytes

readme.md

File metadata and controls

34 lines (25 loc) ยท 817 Bytes

Advent of Code

My solutions to Advent of Code puzzles.

Input files

Per Advent of Code about page, input files are not shared publicly. This repository contains AES-256-CBC encrypted puzzle inputs in the input.enc file.

Managing input files

Set the AOC_INPUT_ENCRYPTION_KEY environment variable.

  • Decrypt: bun run input:decrypt
  • Encrypt: bun run input:encrypt

Input directory structure

The input files are assumed to exist in the /input directory with the following directory structure:

๐Ÿ“ฆ <project root>
โ”” ๐Ÿ“‚ input
   โ”œ ๐Ÿ“‚ 2015
   โ”‚  โ”œ ๐Ÿ“œ 01.txt
   โ”‚  โ”œ ๐Ÿ“œ 02.txt
   โ”‚  โ‹ฎ
   โ”‚  โ”” ๐Ÿ“œ 25.txt
   โ”œ ๐Ÿ“‚ 2016
   โ”‚  โ”œ ๐Ÿ“œ 01.txt
   โ”‚  โ”œ ๐Ÿ“œ 02.txt
   โ”‚  โ‹ฎ
   โ”‚  โ”” ๐Ÿ“œ 25.txt
   โ‹ฎ