I am working on a project where I will get the data from the user's input form (no file processing). To avoid the duplication, I want to use either (fixed-length or fixed block) or (Variable length or Variable block).
Which one is the better approach for the user's input data from small length (one liner) to big length (something like blog) ?
I am looking in to md5 (fixed length) or sha1 (variable length), are there any better implementations for it?