MD5 routines that are GLib friendly?
c, glib, linux
Solution
Unless you have a very good reason, use glib's built-in MD5, SHA1, and SHA256 implementations with `GChecksum`. It doesn't have a built-in function to construct a checksum from an IO stream, but you can write a simple one in 10 lines, and you'd need to write a complex one yourself anyway.
Problem
Does anyone know of an MD5/SHA1/etc routine that is easily used with GLib (i.e. you can give it a GIOChannel, etc)?