-node">&quot;#{token}:#{sign(accountSecret, token)}&quot;</span>

      <span class="ruby-comment cmt"># unencoded</span>
      <span class="ruby-comment cmt">#return &quot;ext=#{signed}&quot;</span>

      <span class="ruby-comment cmt"># encoded</span>
      <span class="ruby-identifier">enc</span> = <span class="ruby-constant">Base64</span>.<span class="ruby-identifier">encode64</span>(<span class="ruby-identifier">signed</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quo