Nothing-up-my-sleeve constants
In cryptography, to prove that a designer has not put a "backdoor" into an algorithm, constants are taken from simple mathematical numbers: from the digits of numbers like π, e, and √2. Such numbers are called "nothing up my sleeve" numbers. For example, MD5 uses the sine function, and SHA-256 uses the cube roots of the first prime numbers.
The key is the first 128 bits of the fractional part of √2 (32 hexadecimal digits, i.e. 16 bytes). We used exactly these 16 bytes as a repeating XOR key. Note: only the first 64 bits of this value are the same as the first initial constant of SHA-512 (H0); the next 64 bits are the continuation of √2 (not H1 of SHA-512, since that is taken from √3). Decrypt the following ciphertext (hex) to find the flag:
2848bf35bcedb24583a8503984fa09560367813886cc9665cba4600a8ff00b5b
357a9715878eb4
Calculating the key in Python: from math import isqrt; fractional digits = isqrt(2*16**64) - isqrt(2)*16**32, then .to_bytes(16, 'big').