<commit_before>class AsciiArmor

  # http://tools.ietf.org/search/rfc4880
  def self.validate str

  end
end<commit_msg>Adds comments about how to implement asciiarmor<commit_after>class AsciiArmor

  # http://tools.ietf.org/search/rfc4880
  # Could easily be based off of https://github.com/bendiken/openpgp/blob/master/lib/openpgp/armor.rb#L75
  def self.validate text
    require "base64"

    # Does the block have valid headers?
    # TODO: implement
    
    # Split the message and checksum

    # Is the text block length divisible by 4?
    # TODO: implement

    # Does the text block have valid characters
    # TODO: implement
    regex_64 = %r{[A-Za-z0-9+\/]+={0,3}}

    # Validate Checksum
    # https://en.wikipedia.org/wiki/Base64#OpenPGP
    # TODO: implement
  end
end
{'fraction_non_alphanumeric': 0.10292249047013977, 'fraction_numerical': 0.026683608640406607, 'mean_word_length': 3.082901554404145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7013733', 'n_tokens_mistral': 282, 'n_tokens_neox': 263, 'n_words': 69}