Implement simple en/decoding command line tool