Creates an hmac from an array of keyBytes and a hash (defaults to sha256).
keyBytes
hash
sha256
CookieSigner(List<int> keyBytes, {Hash? hash}) : hmac = Hmac(hash ?? sha256, keyBytes);