rubocop refactoring
implement valid_stepsize? method to reduce cyclomatic complexity of HMAC constructor