A variable-bit cipher