Refactored method for generate hash