Skip to content

Commit

Permalink
2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoma committed Jun 22, 2023
1 parent 36ed5a3 commit fb28c06
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 11,289 deletions.
5 changes: 3 additions & 2 deletions dist/api/createHash.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Создает хеш сообщения по ГОСТ Р 34.11-2012 256 бит
* Создает хеш сообщения по ГОСТ Р 34.11-2012 (по умолчанию 256 бит)
* 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)
*
* @param unencryptedMessage - сообщение для хеширования
* @hashedAlgorithm - алгоритм хеширования. По умолчанию - CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256.
*
* @returns хеш
*/
export declare const createHash: (unencryptedMessage: string | ArrayBuffer) => Promise<string>;
export declare const createHash: (unencryptedMessage: string | ArrayBuffer, hashedAlgorithm?: number) => Promise<string>;
2 changes: 1 addition & 1 deletion dist/crypto-pro.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for crypto-pro 2.3.2
// Type definitions for crypto-pro 2.4.0
// Project: crypto-pro
// Definitions by: Vitalii Goma https://github.com/vgoma

Expand Down
7 changes: 4 additions & 3 deletions dist/crypto-pro.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/crypto-pro.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/crypto-pro.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/crypto-pro.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit fb28c06

Please sign in to comment.