javascript Programming Glossary: checksum
duplicate-able inputs validation not working with non duplicate-able fields http://stackoverflow.com/questions/14400489/duplicate-able-inputs-validation-not-working-with-non-duplicate-able-fields idNumber.substring 10 11 0 Yes No var tempTotal 0 var checkSum 0 var multiplier 1 for var i 0 i 13 i tempTotal parseInt idNumber.charAt.. .charAt 0 parseInt tempTotal.toString .charAt 1 checkSum checkSum tempTotal multiplier multiplier 2 0 1 2 if checkSum.. .charAt 0 parseInt tempTotal.toString .charAt 1 checkSum checkSum tempTotal multiplier multiplier 2 0 1 2 if checkSum 10 0 correct..
uploading, processing, storing and delivering user-provided files and images http://stackoverflow.com/questions/13972714/uploading-processing-storing-and-delivering-user-provided-files-and-images If you expect a lot of files per user you could split a checksum of the filname to get a deeper folder structure e.g. path _SERVER..
Good choice for a lightweight checksum algorithm? http://stackoverflow.com/questions/421419/good-choice-for-a-lightweight-checksum-algorithm choice for a lightweight checksum algorithm I find myself needing to generate a checksum for.. checksum algorithm I find myself needing to generate a checksum for a string of data for consistency purposes. The broad idea.. The broad idea is that the client can regenerate the checksum based on the payload it recieves and thus detect any corruption..
|