Skip to content

Instantly share code, notes, and snippets.

View x0ul's full-sized avatar
🪣

Cody Harris x0ul

🪣
View GitHub Profile
@x0ul
x0ul / milenage.py
Created April 20, 2024 04:43
Milenage
#!/usr/bin/env python
import argparse
from Crypto.Cipher import AES
def milenage(k_i: str, op: str) -> str:
k_i = bytes.fromhex(k_i)
op = bytes.fromhex(op)
@x0ul
x0ul / foo.rs
Created December 7, 2021 06:12
aoc 2021 3-2 arg wtf rust struggles
use std::io;
use trees::Tree;
fn main() {
let mut diag_tree = Tree::new(-1);
loop {
let mut buf = String::new();
match io::stdin().read_line(&mut buf) {