Added in the ability to set the which hash algorithm is used and some formatting.