Skip to content

Instantly share code, notes, and snippets.

View frereit's full-sized avatar

Frederik Reiter frereit

View GitHub Profile
@frereit
frereit / script.js
Created October 16, 2025 15:34
TUDa Informatik Moodle Auto-Login Redirect
// ==UserScript==
// @name TUDa Informatik Moodle Auto-Login Redirect
// @namespace https://moodle.informatik.tu-darmstadt.de/
// @version 2025-10-16
// @description Automatically redirect to login when logged out
// @author frereit
// @match https://moodle.informatik.tu-darmstadt.de/
// @icon https://www.google.com/s2/favicons?sz=64&domain=tu-darmstadt.de
// @grant none
// ==/UserScript==
@frereit
frereit / README.md
Created July 9, 2025 20:27
encrypted backup of my restic access and encryption keys

If you figure out a way to tell me the plaintext for this encrypted file, send the plaintext (or some part of it) to <name of encryption program> at <my username>.de and I'll give you 1000€.

Only first person to send it to me gets the bounty.

@frereit
frereit / README.md
Last active July 9, 2025 19:42
A slow demo of the cantor zassenhaus algorithm in JavaScript

Huh?

This is an implementation of AES-GCM and an attack on it that can be used to fully break the cipher on nonce reuse. I wanted to use it for a blog entry but it is about 10x faster to do in Web Assembly, so that's what I'm doing.

I'm putting it up here in case it's interesting to anybody and I'll add a link to the blog entry once it's finished.

Edit: Late but the blog post is at