Don't think there is need in a separate hash generator method.