Brutefock

From Esolang
Jump to navigation Jump to search

Brutefock is a brainfuck derivative in which the source brainfuck is hashed, and the interpreter must brute-force the hashed program into the source program (hence the name, a portmanteau of brainfuck and bruteforce). It is assumed that, before hashing, the source program has been cleaned of any whitespace or comments, i.e. characters that are not in the brainfuck alphabet (+-><,.[]). The hash function used is usually SHA-256, but it may be any hash function with collision and preimage resistance.