<commit_before>//
//  TokenBuilder.swift
//  passKit
//
//  Created by <NAME> on 01.12.18.
//  Copyright © 2018 <NAME>. All rights reserved.
//

import Base32
import OneTimePassword

/// Help building an OTP token from given data.
///
/// There is currently support TOTP and HOTP tokens:
///
/// * Necessary TOTP data
///   * secret: `secretsecretsecretsecretsecretsecret`
///   * type: `totp`
///   * algorithm: `sha1` (default: `sha1`, optional)
///   * period: `30` (default: `30`, optional)
///   * digits: `6` (default: `6`, optional)
///
/// * Necessary HOTP data
///   * secret: `secretsecretsecretsecretsecretsecret`<commit_msg>Add missing word<commit_after>//
//  TokenBuilder.swift
//  passKit
//
//  Created by <NAME> on 01.12.18.
//  Copyright © 2018 <NAME>. All rights reserved.
//

import Base32
import OneTimePassword

/// Help building an OTP token from given data.
///
/// There is currently support for TOTP and HOTP tokens:
///
/// * Necessary TOTP data
///   * secret: `secretsecretsecretsecretsecretsecret`
///   * type: `totp`
///   * algorithm: `sha1` (default: `sha1`, optional)
///   * period: `30` (default: `30`, optional)
///   * digits: `6` (default: `6`, optional)
///
/// * Necessary HOTP data
///   * secret: `secretsecretsecretsecretsecretsecret`
{'fraction_non_alphanumeric': 0.17670054730258014, 'fraction_numerical': 0.03127443315089914, 'mean_word_length': 2.8095238095238093, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4605551', 'n_tokens_mistral': 450, 'n_tokens_neox': 419, 'n_words': 126}