Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
390e85d
Port js -> ts
Warchant Jul 4, 2020
0e9f72f
Ignore build dir from gts check
Warchant Jul 4, 2020
589c0cd
Fix
Warchant Jul 4, 2020
cd461d0
Use npm instead of yarn
Warchant Jul 4, 2020
191764b
Update README.md
Warchant Jul 4, 2020
18ec03e
Move files to root dir
Warchant Jul 4, 2020
5ac37b2
Fix gts check
Warchant Jul 4, 2020
82c49c0
Set fail-fast: false
Warchant Jul 4, 2020
ecca3ee
Fix license, remove unnecessary alloc
Warchant Jul 4, 2020
0d827c2
Remove gh actions; use 10/12 nodejs in travis
Warchant Jul 4, 2020
b59bf86
Return Buffer in mac_out and mac
Warchant Jul 5, 2020
91785b1
Bump ajv from 6.12.2 to 6.12.6
dependabot[bot] Feb 14, 2022
803e7de
Bump minimatch from 3.0.4 to 3.1.2
dependabot[bot] Nov 12, 2022
e5b2154
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 8, 2022
87061d3
Bump qs from 6.5.2 to 6.5.3
dependabot[bot] Dec 12, 2022
83511bb
Bump json5 from 2.1.3 to 2.2.3
dependabot[bot] Jan 6, 2023
d44ac84
Bump cacheable-request and gts
dependabot[bot] Feb 11, 2023
734f8a5
Bump minimist from 1.2.5 to 1.2.8
dependabot[bot] Mar 7, 2023
5748865
Merge pull request #10 from Warchant/dependabot/npm_and_yarn/minimist…
Warchant Oct 22, 2023
34573c4
Merge pull request #9 from Warchant/dependabot/npm_and_yarn/cacheable…
Warchant Oct 22, 2023
8ef177b
Bump lodash from 4.17.15 to 4.17.21
dependabot[bot] Oct 22, 2023
b5c796f
Bump ansi-regex from 5.0.0 to 5.0.1
dependabot[bot] Oct 22, 2023
20b11fa
Merge pull request #13 from Warchant/dependabot/npm_and_yarn/ansi-reg…
Warchant Oct 22, 2023
d5fd4fb
Merge pull request #1 from Warchant/dependabot/npm_and_yarn/ajv-6.12.6
Warchant Oct 22, 2023
e290653
Merge pull request #4 from Warchant/dependabot/npm_and_yarn/minimatch…
dependabot[bot] Oct 22, 2023
8606376
Bump @babel/traverse from 7.10.4 to 7.23.2
dependabot[bot] Oct 22, 2023
a947b7b
Merge pull request #12 from Warchant/dependabot/npm_and_yarn/babel/tr…
dependabot[bot] Oct 22, 2023
fe97613
Merge pull request #11 from Warchant/dependabot/npm_and_yarn/lodash-4…
dependabot[bot] Oct 22, 2023
7118980
Merge pull request #7 from Warchant/dependabot/npm_and_yarn/json5-2.2.3
dependabot[bot] Oct 22, 2023
948a287
Merge pull request #6 from Warchant/dependabot/npm_and_yarn/qs-6.5.3
dependabot[bot] Oct 22, 2023
17481f6
Merge pull request #5 from Warchant/dependabot/npm_and_yarn/decode-ur…
dependabot[bot] Oct 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./node_modules/gts/",
"env": {
"jest": true
},
"ignorePatterns": [
"build/**/*",
"**/*.d.ts",
"**/*.js"
]
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
node_modules
build
*.js
*.d.ts
*.js.map
10 changes: 10 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
test
node_modules
.github
.gitignore
.prettierrc.js
.eslintrc.json
package-lock.json
travis.yml
.idea
.travis.yml
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('gts/.prettierrc.json')
}
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: node_js
node_js:
- 8
- 10
- 12
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gost89
======

Gost89 cipher and hash function implementation in JS
Gost89 cipher and hash function implementation in TypeScript.

[![Build Status](https://travis-ci.org/dstucrypt/gost89.svg?branch=master)](https://travis-ci.org/dstucrypt/gost89)
[![npm module](https://badge.fury.io/js/gost89.svg)](https://www.npmjs.org/package/gost89)
Expand Down
22 changes: 0 additions & 22 deletions index.js

This file was deleted.

40 changes: 40 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import {Gost} from './src/gost89';
import {gosthash, Hash} from './src/hash';
import {dumb_kdf, pbkdf} from './src/util';
import {unwrap_key, wrap_key} from './src/keywrap';
import {
algos,
compute_hash,
convert_password,
decode_data,
gost_decrypt_cfb,
gost_encrypt_cfb,
gost_kdf,
gost_keywrap,
gost_unwrap,
} from './src/compat';
import {PRNG} from './src/prng';

export default {
init: () => {
return new Gost();
},
PRNG,
Hash,
gosthash,
dumb_kdf,
pbkdf,
wrap_key,
unwrap_key,
compat: {
algos,
decode_data,
convert_password,
compute_hash,
gost_kdf,
gost_unwrap,
gost_keywrap,
gost_decrypt_cfb,
gost_encrypt_cfb,
},
};
110 changes: 0 additions & 110 deletions lib/compat.js

This file was deleted.

20 changes: 0 additions & 20 deletions lib/dstu.js

This file was deleted.

Loading