<commit_before># encoding: binary
require 'spec_helper'

RSpec.describe RbNaCl::PasswordHash::SCrypt do
  let(:reference_password) { vector :<PASSWORD> }
  let(:reference_salt)     { vector :scrypt_salt }
  let(:reference_opslimit) { RbNaCl::TestVectors[:scrypt_opslimit] }
  let(:reference_memlimit) { RbNaCl::TestVectors[:scrypt_memlimit] }
  let(:reference_digest)   { vector :scrypt_digest }

  it "calculates the correct diest for a reference password/salt" do
    digest = RbNaCl::PasswordHash.scrypt(
      reference_password,
      reference_salt,
      reference_opslimit,
      reference_memlimit
    )

    expect(digest).to eq reference_digest
  end
end<commit_msg>Fix typo<commit_after># encoding: binary
require 'spec_helper'

RSpec.describe RbNaCl::PasswordHash::SCrypt do
  let(:reference_password) { vector :<PASSWORD> }
  let(:reference_salt)     { vector :scrypt_salt }
  let(:reference_opslimit) { RbNaCl::TestVectors[:scrypt_opslimit] }
  let(:reference_memlimit) { RbNaCl::TestVectors[:scrypt_memlimit] }
  let(:reference_digest)   { vector :scrypt_digest }

  it "calculates the correct digest for a reference password/salt" do
    digest = RbNaCl::PasswordHash.scrypt(
      reference_password,
      reference_salt,
      reference_opslimit,
      reference_memlimit
    )

    expect(digest).to eq reference_digest
  end
end
{'fraction_non_alphanumeric': 0.09925925925925926, 'fraction_numerical': 0.0, 'mean_word_length': 4.773504273504273, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1775115', 'n_tokens_mistral': 466, 'n_tokens_neox': 437, 'n_words': 84}