Use a string for the mode too

The cipher is already specified as string