md5sum

fast md5sum on millions of strings in bash/ubuntu

I need the MD5 sums of 3 million strings or so in a bash script on ubuntu. 3 million strings -> 3 million MD5 hashes. The trivial implementation takes about 0.005sec per string. That's over 4 hours. What faster alternatives exist? Is there a way to pump groups of strings into md5sum? #time md5sum running 100 times on short strings #each...

Compute an MD5 sum in JavaScript and access it as bits.

I have a project where I want to compute an MD5 sum in JavaScript but I want to then break it up into chunks (as it happens I want 3 bits at a time). Are there any implementation I can use that make this easy to do? (BTW I already found this MD5 implementation that returns a string.) Option I've thought of: Hack that implementation to...

How do you verify that 2 copies of a VB 6 executable came from the same code base?

I have a program under version control that has gone through multiple releases. A situation came up today where someone had somehow managed to point to an old copy of the program and thus was encountering bugs that have since been fixed. I'd like to go back and just delete all the old copies of the program (keeping them around is a com...

Why am I getting the same MD5 checksum for seemingly different inputs using Perl's Digest::MD5?

On my Linux platform with 64bits recompiled perl and SSHing Mac terminal (I guess UTF-8). I am giving all this information just in case it might be relevant. # perl -e 'use Digest::MD5 qw/md5_hex/; print(md5_hex("alex@vi\n") ."\n");' 756e98065cb8cbf603a3dbef2afe9261 # perl -e 'use Digest::MD5 qw/md5_hex/; print(md5_hex("alex@visi\n") ....

Checking md5sum programmatically with php on server

I'm not sure if what I'm asking is possible. You know how when you download something, you can run an md5sum check on it to verify it hasn't been corrupted when transmitted. Well, I'm trying to do the same thing programmatically on the server. The file would have been downloaded to the web root folder or some other folder, and I want t...

Is there a way to pad files with a few extra bytes to get a different md5 checksum?

I have video files, that I want to pad with a random number of extra bytes, in order to create a different md5 checksum. Is there a way to do that, and keep them playable? ...