<commit_before>/**
 * simple demo to show sha1 calculation
 */
#include <Arduino.h>
#include <hash.h>

void setup() {
    Serial.begin(921600);
}

void loop() {
    uint8_t hash[20];
    const uint8_t test[] = "test";

    sha1((uint8_t *)&test[0], sizeof(test)-1, &hash[0]);

    // SHA1: A94A8FE5CCB19BA61C4C0873D391E987982FBBD3
    Serial.print("SHA1:");
    for(uint16_t i = 0; i < 20; i++) {
        Serial.printf("%02X", hash[i]);
    }
    Serial.println();

    delay(1000);
}
<commit_msg>missed rename<commit_after>/**
 * simple demo to show sha1 calculation
 */
#include <Arduino.h>
#include <Hash.h>

void setup() {
    Serial.begin(921600);
}

void loop() {
    uint8_t hash[20];
    const uint8_t test[] = "test";

    sha1((uint8_t *)&test[0], sizeof(test)-1, &hash[0]);

    // SHA1: A94A8FE5CCB19BA61C4C0873D391E987982FBBD3
    Serial.print("SHA1:");
    for(uint16_t i = 0; i < 20; i++) {
        Serial.printf("%02X", hash[i]);
    }
    Serial.println();

    delay(1000);
}

{'fraction_non_alphanumeric': 0.1851106639839034, 'fraction_numerical': 0.10462776659959759, 'mean_word_length': 3.2161016949152543, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5323625', 'n_tokens_mistral': 458, 'n_tokens_neox': 402, 'n_words': 79}