<commit_before>from django.db import models

# Create your models here.<commit_msg>Add a basic model for the identifications<commit_after>from django.db import models
from django.contrib.auth.models import User

class Credentials(models.Model):
  "Keeps track of issued MAC credentials"
  user = models.ForeignKey(User)
  expiry = models.DateTimeField("Expires On")
  identifier = models.CharField("MAC Key Identifier", max_length=16, null=True, blank=True)
  key = models.CharField("MAC Key", max_length=16, null=True, blank=True)

class Nonce(models.Model):
  """Keeps track of any NONCE combinations that we have used"""
  nonce = models.CharField("NONCE", max_length=16, null=True, blank=True)
  timestamp = models.DateTimeField("Timestamp", auto_now_add=True)
  credentials = models.ForeignKey(Credentials)
{'fraction_non_alphanumeric': 0.10727496917385944, 'fraction_numerical': 0.007398273736128237, 'mean_word_length': 6.185840707964601, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4505277', 'n_tokens_mistral': 243, 'n_tokens_neox': 238, 'n_words': 69}