<commit_before>blake2 = require('blake2');

local data = "example data";
local key = "example key";

print(  
    '\n',
    'b2s\n',
    '<KEY>',
    '\n',
    blake2.blake2s( data, key ),
    '\n',
    '\n',
    'b2sp\n',
    '<KEY>',
    '\n',
    blake2.blake2sp( data, key ),
    '\n',
    '\n',
    'b2b\n',
    '2c87a41f3d3775c42fff183c6616d1f47ddc3eb6511e91b93a02694df446172a8ac38178eef99a23256237d1b0d324d6cbaa4fce33b2acc0270076ecdbb796a3',
    '\n',
    blake2.blake2b( data, key ),
    '\n',
    '\n',
    'b2bp\n',
    '7ca4584a051375fcd8bd28a0aa000db5bd807a901dc7216ecf3556feed3aaf7ef30cedd8e69fc3428e41bf8a9dd8e85a8b0c5fc1a85ab7610607b7894cdeba08',
    '\n',
    blake2.blake2bp( data, key ) 
);<commit_msg>change: test.lua has been updated.<commit_after>blake2 = require('blake2');

local data = "example data";
local key = "example key";

print(  
    '\n',
    'b2s\n',
    '<KEY>',
    '\n',
    blake2.s( data, key ),
    '\n',
    '\n',
    'b2sp\n',
    '<KEY>',
    '\n',
    blake2.sp( data, key ),
    '\n',
    '\n',
    'b2b\n',
    '2c87a41f3d3775c42fff183c6616d1f47ddc3eb6511e91b93a02694df446172a8ac38178eef99a23256237d1b0d324d6cbaa4fce33b2acc0270076ecdbb796a3',
    '\n',
    blake2.b( data, key ),
    '\n',
    '\n',
    'b2bp\n',
    '7ca4584a051375fcd8bd28a0aa000db5bd807a901dc7216ecf3556feed3aaf7ef30cedd8e69fc3428e41bf8a9dd8e85a8b0c5fc1a85ab7610607b7894cdeba08',
    '\n',
    blake2.bp( data, key )
);
{'fraction_non_alphanumeric': 0.16225626740947074, 'fraction_numerical': 0.22423398328690808, 'mean_word_length': 3.2767857142857144, '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': '5020553', 'n_tokens_mistral': 861, 'n_tokens_neox': 728, 'n_words': 88}