The only encryption routine you can trust - is the one you wrote yourself. Need a proof - try to decrypt the ciphertext in the file https://s3.amazonaws.com/volgactf/crypto/400/flag.txt.bin! source code https://s3.amazonaws.com/volgactf/crypto/400/main.cpp