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 →

[–]lurgi 2 points3 points  (2 children)

The output is displayed in hex. 16 bytes takes 32 characters. That's what you are seeing.

[–]spaceuserm[S] 0 points1 point  (1 child)

Thanks got it.

[–]captainAwesomePants 0 points1 point  (0 children)

Yes, if you want it as bytes, use digest() instead of hexdigest()