Change default algorithm of Hash and HashHmac class.