Some ideas to modernize the code: - Use arc4random and co. - Re-align structures and drop the packed attribute - Use crypt_r w/ SHA256 or SHA512 - IPv6 support?
Some ideas to modernize the code: