/
diev
/
Caligatio-jsSHA
Обзор
Документация
Войти
/
diev
/
Caligatio-jsSHA
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
test/hash_data.d.ts
55 строк
980 B
Brian Turek
Add cSHAKE128/256 and KMAC128/256 support, add hmacKey option to constructor
15 апр 2020, 15:16
Не верифицирован
15 апр 2020, 15:16
ec44570
Код
Авторство
О чём код?
/* This file was manually created so there may be more efficient ways of defining this */ export as namespace hashData; interface testTextInput { format: "TEXT"; value: string; encoding?: "UTF8"; rounds?: number; } interface testHexKey { format: "HEX"; value: string; } interface testTextCustomization { format: "TEXT"; value: string; } interface testHexOutut { format: "HEX"; value: string; outputLen?: number; } interface test { name: string; input: testTextInput; hmacKey?: testHexKey; kmacKey?: testHexKey; customization?: testTextCustomization; outputs: testHexOutut[]; } declare const hash_data: { "SHA-1": test[]; "SHA-224": test[]; "SHA3-224": test[]; "SHA-256": test[]; "SHA3-256": test[]; "SHA-384": test[]; "SHA3-384": test[]; "SHA-512": test[]; "SHA3-512": test[]; SHAKE128: test[]; SHAKE256: test[]; CSHAKE128: test[]; CSHAKE256: test[]; KMAC128: test[]; KMAC256: test[]; }; export = hash_data;