implement command/cipherbox