remove some unused methods
use a [ThreadStatic] instance for sha256 & ripemd160