76
votes
4answers
7k views

Calculate SHA1 hash from binary and verify with a provided hash

I applied for a job and they asked me to write code with the following requirements: Get a "toolbar offer" description from http..update.utorrent.com/installoffer.php?offer=conduit. Parse the ...
3
votes
2answers
90 views

Python Barcode Generator v2

This is a complete rewrite of the code posted for review in this question. The question is identical. ...
2
votes
3answers
141 views

Python Barcode Generator

I was asked to provide some example code for a job interview and didn't have anything to offer, so I wrote the following function. A barcode generator may seem a bit basic, but there's some logic ...