In today's post, I would like to discuss about hashing and how it can be implemented in programming language, in which I would use Java for this purpose. Hashing, though, can be easily implemented using any other programming languages. Hashing is a process whereby one input, processed using specific algorithm, will produce another output that is unique for that input. For an algorithm to be considered secure as a hashing algorithm, there are several characteristics has to be met: For every input I, it must produce output O that is unique for virtually every set of I (no collision). For every output O, there should virtually no way, or virtually very hard, to compute back the value of input I (one-way function). For every input I, the length of the output O must be always the same regardless of the length of the input I. There are several algorithms available out there on hashing. Below are some of the algorithms: MD5 (no longer recommended) SHA-1 (no longer recomm...
Comments
Post a Comment