 class="anchor"></a><code><span><span class="keyword">val</span> secret : <span>?bytes:int <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> string</span></code></div><div class="spec-doc"><p>Generates a valid Base-32 OTP secret (for both HOTP and TOTP algorithms, but don't mix them with the same secret, instead, generate a secret for every kind of usage). The optional <code>bytes</code> parameter represents the size of underlying binary/blob string of the en