Fixed bit packing on encryption