SHA1 refactoring to use sprintf_s again with sustitution in GCC