-description">
    <p>An R6 class that implements the Time based One Time Password (TOTP) algorithm.</p>
    </div>


    <div id="initialization">
    <h2>Initialization</h2>
    
<div class="sourceCode"><pre><code><span></span>
<span><span class="va"><a href="../reference/TOTP.html">TOTP</a></span><span class="op">$</span><span class="fu">new</span><span class="op">(</span><span class="va">secret</span>, digits <span class="op">=</span> <span class="fl">6L</span>, period <span class="op">=</span> <span cl