BSD-licensed CTF Implementation