C++ version of btcsteg