I am currently working on a project where some information needs to be hashed. Since the data set is huge (millions of records created every day), the data conversion algorithm must be fast.
The pieces of data that must be hashed are a fixed length (11 decimal numbers - example: 05018144298). Therefore, I would like to know whether it is worth creating your own hash function instead of using some existing ones (for example, MD5) in order to significantly reduce processing time, and if so, what would be the best way to do this, This is a good way to change some of the existing algorithms ( for example, MD5, but split the input into smaller pieces and change other parameters for fixed input of 11 decimal numbers) or is it better to design a hash function from scratch?
Thank!
, , , - - . MD5 , . , " " - .
-, -, - . -, , NIST. . , , , . - .
- -. MD5, ; ( 1996 , MD5 15 ). SHA-256.
-, - -, - . , , .
. , , , . , , , , , , , .
, , :
11 , 64- (long long int C). ?
long long int
11-, , , 11 32- , , MD5, SHA-1 , , OpenSSL. OpenSSL ( MMX, , AES, ), .
, (, , ..), . , , , - - -, .
(OTP). , , . ( RNG Windows CSP - ) , .
OTP, . , OTP.
, . , , , - , .
Source: https://habr.com/ru/post/1763302/More articles:Unable to use Performance Plugin with Hudson - maven-2Проверка ввода в текстовом поле в телефоне Windows 7 - c#PHP "parse the error, expecting` T_STRING '"- Please help with the code - phpHow to fix xml file based on xml schema? - xmlSimple threading issue using windows service - c #Seed random from milliseconds on Windows and Linux - c ++How to create a hash function to mask confidential information? - cryptographyHow to create a multiple selection of tapestry baskets - tapestryIn the Google App Engine, how do I avoid creating duplicate objects with the same attribute? - pythonP / invoke System.ExecutionEngineException when passing an array as ref / out - c #All Articles