mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 00:07:19 +01:00 
			
		
		
		
	Revert hash functions to their previous names.
This commit is contained in:
		@@ -209,12 +209,12 @@ void Register_Crypt(HSQUIRRELVM vm)
 | 
			
		||||
    RegisterWrapper< SHA256 >(hashns, _SC("SHA256"));
 | 
			
		||||
    RegisterWrapper< SHA3 >(hashns, _SC("SHA3"));
 | 
			
		||||
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqCRC32"), &HashF< CRC32 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqKeccak"), &HashF< Keccak >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqMD5"), &HashF< MD5 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqSHA1"), &HashF< SHA1 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqSHA256"), &HashF< SHA256 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SqSHA3"), &HashF< SHA3 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("CRC32"), &HashF< CRC32 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("Keccak"), &HashF< Keccak >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("MD5"), &HashF< MD5 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SHA1"), &HashF< SHA1 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SHA256"), &HashF< SHA256 >);
 | 
			
		||||
    hashns.SquirrelFunc(_SC("SHA3"), &HashF< SHA3 >);
 | 
			
		||||
 | 
			
		||||
    RootTable(vm).Bind(_SC("SqHash"), hashns);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user