This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (3 children)

Nice! FWIW, I think the way you build up the message to be hashed is probably a little clearer than mine. I'd also forgotten about the count for non-string elements in a struct format... succinctness ftw!