Generating random salts
Group querying and comparison code
Mainly groups and password handling code