lining up with the go1.2 api
adding the benchmark from "crypto/aes" for comparison
adding Sum for compatibility, and the test/benchmark from "crypto/sha1"