<commit_before><?php

namespace Palladium\Entity;

class OneTimeIdentity extends Identity
{

    const HASH_ALGO = PASSWORD_BCRYPT;
    const HASH_COST = 12;

    const NONCE_SIZE = 16;
    const KEY_SIZE = 32;

    private $nonce;
    private $hash;

    protected $type = Identity::TYPE_ONETIME;


    public function setNonce($nonce)
    {
        $this->nonce = (string) $nonce;
    }


    public function getNonce()
    {
        return $this->nonce;
    }<commit_msg>Minor: forgot to define a class variable for key<commit_after><?php

namespace Palladium\Entity;

class OneTimeIdentity extends Identity
{

    const HASH_ALGO = PASSWORD_BCRYPT;
    const HASH_COST = 12;

    const NONCE_SIZE = 16;
    const KEY_SIZE = 32;

    private $nonce;
    private $key;
    private $hash;

    protected $type = Identity::TYPE_ONETIME;


    public function setNonce($nonce)
    {
        $this->nonce = (string) $nonce;
    }


    public function getNonce()
    {
        return $this->nonce;
    }
{'fraction_non_alphanumeric': 0.09490509490509491, 'fraction_numerical': 0.011988011988011988, 'mean_word_length': 2.697416974169742, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2544777', 'n_tokens_mistral': 365, 'n_tokens_neox': 327, 'n_words': 84}