add Go-compatible hash interface
reduce internal buffer size
dead comments--