Migrating to sha-512 for security