Added hash aliases table

Hi, I just added table for hash aliases.
Also added `.toLowerCase()` for hash alg name, for better compatibility.
This should be two steps.

``` javascript
alg = alg.toLowerCase()
alg = (hashAliases[alg] || alg)
```