original_string: private function _roundKeys($hashPassword = null, $iv = null)
      {
          $roundKeys = [];
          $prevKey = $this->_encrypt($this->key, $hashPassword, $iv);
          for ($i = 1; $i <= $this->rounds; $i++) {
              $prevKey = $this->_encrypt($prevKey, $hashPassword, $iv);
              $roundKeys[$i] = substr(DataConverter::rawToBin($prevKey), -1 * $this->sideSize);
          }
  
          return $roundKeys;
      }
code: private function _roundKeys($hashPassword = null, $iv = null)
      {
          $roundKeys = [];
          $prevKey = $this->_encrypt($this->key, $hashPassword, $iv);
          for ($i = 1; $i <= $this->rounds; $i++) {
              $prevKey = $this->_encrypt($prevKey, $hashPassword, $iv);
              $roundKeys[$i] = substr(DataConverter::rawToBin($prevKey), -1 * $this->sideSize);
          }
  
          return $roundKeys;
      }
code_tokens: private function _roundKeys ( $ hashPassword = null , $ iv = null ) { $ roundKeys = [ ] ; $ prevKey = $ this -> _encrypt ( $ this -> key , $ hashPassword , $ iv ) ; for ( $ i = 1 ; $ i <= $ this -> rounds ; $ i ++ ) { $ prevKey = $ this -> _encrypt ( $ prevKey , $ hashPassword , $ iv ) ; $ roundKeys [ $ i ] = substr ( DataConverter :: rawToBin ( $ prevKey ) , - 1 * $ this -> sideSize ) ; } return $ roundKeys ; }
docstring: Generates hash keys.
  
  @param string|null $hashPassword
  @param string|null $iv
  
  @return array
docstring_tokens: Generates hash keys .