Splitting up C++ Category Password towards Numerous Records, which are the laws?