Simple XOR Hash


/ Published in: Python
Save to your folder(s)

This is a simple hash that pads its input to the block size and XORs every block together. Output is in hexadecimal octets. Probability of collisions is extremely high and they are easy to calculate, although the function is one-way, so this is more (though, not very) useful as a checksum.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.