I've been wanting to do this for a while now, especially after hearing that SHA-1 was broken. (Ok, I guess that's rather old news.) Anyhow, I added SHA-256 to yafic. Adding support for future hashes should be fairly trivial now as well.
It can be found at
http://www.saddi.com/software/yafic/dist/
I've done very basic testing, so use at your own risk.

I plan to start using it regularly to test it a bit more.
I plan to add another feature or two (like XML output) before making an official 1.3 release.
And as usual, it may be found in my Mercurial repository:
http://hg.saddi.com/yafic-sha256
(I don't plan to merge it into the main yafic repository until it's undergone more testing.)