I had a look at HAMMER as it seemed it might meet my requirements [0] but I couldn't figure out whether it supports replication or erasure coding. Don't suppose anyone here knows?
If you are using a recent Linux Kernel I can suggest you to use dm-integrity [0] (optionally with dm-crypt) with your favorite filesystem. It's not erasure coding but it can help detecting silent data corruption on the disk.