Added support for hmac hash algorithms
Made prettier profile fragment