<commit_before>/**
 * Dependencies
 */
const CryptoKey = require('../src/keys/CryptoKey')
const keyto = require('@trust/keyto')

/**
 * RsaPrivateKey
 */
const RsaPrivateKey =
`-----<KEY>`

/**
 * RsaPrivateJwk
 */
const RsaPrivateJwk = keyto.from(RsaPrivateKey,'pem').toJwk('private')

/**
 * RsaPrivateCryptoKey
 */
const RsaPrivateCryptoKey = new CryptoKey({
  type: 'private',
  algorithm: { name: 'RSASSA-PKCS1-v1_5' },
  extractable: false,
  usages: ['sign'],
  handle: RsaPrivateKey
})

/**
 * RsaPublicKey
 */
const RsaPublicKey =
`-----BEGIN PUBLIC KEY-----
<KEY>`

/**
 * RsaPublicJwk
 */
const RsaPublicJwk = keyto.from(RsaPublicKey,'pem').toJwk('public')

/**
 * RsaPrivateCryptoKey
 */
const RsaPublicCryptoKey = new CryptoKey({
  type: 'public',
  algorithm: { name: 'RSASSA-PKCS1-v1_5' },<commit_msg>fix(RsaKeyPairForTesting): added missing hash names<commit_after>/**
 * Dependencies
 */
const CryptoKey = require('../src/keys/CryptoKey')
const keyto = require('@trust/keyto')

/**
 * RsaPrivateKey
 */
const RsaPrivateKey =
`-----BEGIN RSA PRIVATE KEY-----
<KEY>`

/**
 * RsaPrivateJwk
 */
const RsaPrivateJwk = keyto.from(RsaPrivateKey,'pem').toJwk('private')

/**
 * RsaPrivateCryptoKey
 */
const RsaPrivateCryptoKey = new CryptoKey({
  type: 'private',
  algorithm: { name: 'RSASSA-PKCS1-v1_5', hash: {name: 'SHA-256'} },
  extractable: false,
  usages: ['sign'],
  handle: RsaPrivateKey
})

/**
 * RsaPublicKey
 */
const RsaPublicKey =
`-----BEGIN PUBLIC KEY-----
<KEY>
-----END PUBLIC KEY-----`

/**
 * RsaPublicJwk
 */
const RsaPublicJwk = keyto.from(RsaPublicKey,'pem').toJwk('public')

/**
 * RsaPrivateCryptoKey
 */
const RsaPublicCryptoKey = new CryptoKey({
  type: 'public',
  algorithm: { name: 'RSASSA-PKCS1-v1_5', hash: {name: 'SHA-256'} },
{'fraction_non_alphanumeric': 0.1930022573363431, 'fraction_numerical': 0.010158013544018058, 'mean_word_length': 3.9387186629526463, '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': '4094922', 'n_tokens_mistral': 707, 'n_tokens_neox': 672, 'n_words': 123}