Skip to content

Commit fb28c06

Browse files
author
vgoma
committed
2.4.0
1 parent 36ed5a3 commit fb28c06

18 files changed

Lines changed: 54 additions & 11289 deletions

dist/api/createHash.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/**
2-
* Создает хеш сообщения по ГОСТ Р 34.11-2012 256 бит
2+
* Создает хеш сообщения по ГОСТ Р 34.11-2012 (по умолчанию 256 бит)
33
* https://ru.wikipedia.org/wiki/%D0%A1%D1%82%D1%80%D0%B8%D0%B1%D0%BE%D0%B3_(%D1%85%D0%B5%D1%88-%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D1%8F)
44
*
55
* @param unencryptedMessage - сообщение для хеширования
6+
* @hashedAlgorithm - алгоритм хеширования. По умолчанию - CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256.
67
*
78
* @returns хеш
89
*/
9-
export declare const createHash: (unencryptedMessage: string | ArrayBuffer) => Promise<string>;
10+
export declare const createHash: (unencryptedMessage: string | ArrayBuffer, hashedAlgorithm?: number) => Promise<string>;

dist/crypto-pro.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for crypto-pro 2.3.2
1+
// Type definitions for crypto-pro 2.4.0
22
// Project: crypto-pro
33
// Definitions by: Vitalii Goma https://github.com/vgoma
44

dist/crypto-pro.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/crypto-pro.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/crypto-pro.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/crypto-pro.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)