\documentclass[border]{wifi}

\begin{document}
Wi-Fi password

\vspace{1cm}

\def\ssid{YourSSID}
\def\code{ABCDEFGHIJKL123456}

\begin{tabular}{|c|c|}
  \hline
  SSID & \ssid                \\
  \hline
  PASS & \insertspaces{\code} \\
  \hline
\end{tabular}

\vspace{1cm}

\qrc{\code}{\ssid}
\end{document}
