Is this code still valid and relatively secure for using it today, considering that 4 years have passed since it's been published ? Any extra advice or footnote ?