Commit Graph

121 Commits

Author SHA1 Message Date
Asher Gomez
0643203103
chore: update Rust for std/crypto to 1.74.0 (#3832)
* chore: update Rust for `std/crypto`

* fix

* x

* update
2023-11-22 18:41:16 +11:00
dependabot[bot]
4c617d41b2
chore(deps): bump generic-array from 0.14.6 to 1.0.0 in /crypto/_wasm (#3827)
* chore(deps): bump generic-array from 0.14.6 to 1.0.0 in /crypto/_wasm

Bumps [generic-array](https://github.com/fizyk20/generic-array) from 0.14.6 to 1.0.0.
- [Release notes](https://github.com/fizyk20/generic-array/releases)
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fizyk20/generic-array/commits/1.0.0)

---
updated-dependencies:
- dependency-name: generic-array
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 10:49:08 +11:00
dependabot[bot]
812ca67f15
chore(deps): bump typenum from 1.15.0 to 1.17.0 in /crypto/_wasm (#3828)
* chore(deps): bump typenum from 1.15.0 to 1.17.0 in /crypto/_wasm

Bumps [typenum](https://github.com/paholg/typenum) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/paholg/typenum/releases)
- [Changelog](https://github.com/paholg/typenum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/paholg/typenum/compare/v1.15.0...v1.17.0)

---
updated-dependencies:
- dependency-name: typenum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 10:42:14 +11:00
dependabot[bot]
f7bb8906dd
chore(deps): bump sha3 from 0.10.5 to 0.10.8 in /crypto/_wasm (#3829)
* chore(deps): bump sha3 from 0.10.5 to 0.10.8 in /crypto/_wasm

Bumps [sha3](https://github.com/RustCrypto/hashes) from 0.10.5 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha3-v0.10.5...sha3/v0.10.8)

---
updated-dependencies:
- dependency-name: sha3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 10:34:26 +11:00
dependabot[bot]
4e88166bfe
chore(deps): bump sha-1 from 0.10.0 to 0.10.1 in /crypto/_wasm (#3831)
* chore(deps): bump sha-1 from 0.10.0 to 0.10.1 in /crypto/_wasm

Bumps [sha-1](https://github.com/RustCrypto/hashes) from 0.10.0 to 0.10.1.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha-1-v0.10.0...md2-v0.10.1)

---
updated-dependencies:
- dependency-name: sha-1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 10:25:55 +11:00
Quentin Adam
5fd874cc4c
feat(crypto): support BLAKE2B-160 algorithm (#3793)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-20 21:00:40 +09:00
Asher Gomez
f49fc15b5c
chore(crypto): cleanup tests (#3813) 2023-11-16 22:23:35 +11:00
Asher Gomez
a0b7e1f00d
BREAKING(crypto): remove crypto.subtle.timingSafeEqual() method (#3803) 2023-11-16 05:34:19 +11:00
Asher Gomez
7d5344d775
docs: improve deprecation notices (#3804) 2023-11-16 05:33:11 +11:00
Jeremy Banks
c93b978cb6
fix(crypto): validate that digest length must be an integer between 0 and isize::MAX (#3799) 2023-11-15 21:32:00 +11:00
Asher Gomez
af6c2d66f3
chore: use ReadableStream.from() where possible (#3787) 2023-11-10 14:57:52 +11:00
Lino Le Van
ef479c23ea
docs(crypto): remove use of deprecated toHashString() (#3721)
* chore(crypto): fix jsdoc

* chore: i'm being silly
2023-10-26 08:19:44 +09:00
Asher Gomez
1f95611469
refactor: move unstable std/crypto files (#3699)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-10-23 11:54:22 +09:00
Asher Gomez
844a8d5d2e
chore: update to rust@1.73.0 and wasmbuild@0.15.0 (#3702) 2023-10-22 10:55:40 +09:00
Jeremy Banks
b8cd7590f4
test(crypto): add regression test for re-export of native crypto.getRandomValues() (#3688)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-10-11 17:14:12 +09:00
Asher Gomez
a8a133e3d2
refactor: remove top-level arrow sytnax use (#3687) 2023-10-11 16:19:48 +09:00
Quentin Adam
5700c3deeb
feat(crypto): add BLAKE2B-128 hash algorithm (#3680) 2023-09-28 20:31:04 +09:00
Lino Le Van
c0dd93f9c2
BREAKING(crypto): clean up module (#3630)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-09-19 16:54:37 +09:00
Lino Le Van
12d3b01d42
BREAKING(crypto): deprecate crypto.subtle.timingSafeEqual() (#3596) 2023-09-01 11:35:37 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Quentin Adam
fdabe55e2d
feat(crypto): add BLAKE2B-224 hashing algorithm in crypto (#3392)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-05-31 14:16:30 +09:00
Lino Le Van
1407de1836
chore(crypto): remove unused internal util (#3382) 2023-05-17 13:23:57 +09:00
Lino Le Van
cdf514e448
chore(crypto): fix outdated comment (#3325) 2023-04-20 14:15:39 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Asher Gomez
ec65255fcc
refactor(crypto/_fnv): bring into standards (#3212) 2023-02-23 12:17:56 +09:00
Ryan Dahl
1f96d9fd32
Remove std/node, it was merged into Deno itself (#3206)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-02-22 10:28:55 -05:00
Kamil Ogórek
bfde22f9b2
fix(crypto): create DataView with correct byteLength in timingSafeEqual (#3208) 2023-02-21 14:11:51 +09:00
Asher Gomez
3e9b8943fd
chore(wasmbuild): upgrade to 0.10.3 (#3180) 2023-02-10 19:17:14 +09:00
Asher Gomez
33f0c2ae3c
chore(crypto): remove deprecated util.ts (#3179) 2023-02-10 18:33:20 +09:00
dependabot[bot]
4c6342cf27
chore(deps): bump bumpalo from 3.9.1 to 3.12.0 in /crypto/_wasm (#3129) 2023-01-22 20:48:04 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
75bd5657d6
refactor(crypto): single-export files (#3065) 2022-12-28 17:42:55 +09:00
Yoshiya Hinosawa
01ec1428a7
chore: update Deno.Command usages (#2997) 2022-12-13 17:49:34 +09:00
Asher Gomez
6c2e01e6b8
refactor: replace use of Deno.spawnChild and Deno.run with Deno.Command (#2912)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-11-30 14:12:34 +09:00
Asher Gomez
e1117a8c0d
refactor(bytes): move to single-export files (#2955) 2022-11-29 15:01:21 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts for non-test code (#2857) 2022-11-10 16:28:20 +09:00
Asher Gomez
b7e9dee53c
chore: upgrade rust to 0.165.0 and wasmbuild to 0.10.2 (#2850) 2022-11-08 21:15:44 +09:00
Asher Gomez
1859a59268
refactor(crypto): move crypto/_wasm_crypto/ to crypto/_wasm/ (#2845) 2022-11-07 15:53:46 +09:00
Asher Gomez
84af9ffe55
refactor: cleanup check licence headers tool (#2830) 2022-11-05 19:03:44 +09:00
Asher Gomez
4de657fc5b
feat(crypto): createHash utility (#2805) 2022-10-25 15:48:13 -04:00
Asher Gomez
c1e1240c03
BREAKING: remove deprecated std/hash module (#2786)
remove: deprecated `std/hash` module
2022-10-23 11:12:18 -04:00
Asher Gomez
28eda83ec0
feat(crypto): toHashString utility (#2767) 2022-10-21 17:44:32 +09:00
Asher Gomez
f7e66097a8
test(crypto): test ReadableStream in digest (#2766) 2022-10-18 12:12:39 +09:00
Asher Gomez
8a978ca3af
chore(crypto): update rust dependencies (#2770) 2022-10-11 14:20:36 +09:00
Asher Gomez
f096e33013
feat(crypto): export algorithm types (#2759)
export crypto algorithms
2022-10-07 12:03:51 -04:00
Asher Gomez
eeb696cc29
chore: upgrade wasmbuild to 0.10.0 and rust to 1.64.0 (#2721) 2022-09-30 14:22:27 +09:00
Tim Reichen
3d06fb82dc
refactor: move varint and crypto wasm dirs (#2618) 2022-09-12 14:32:33 +09:00
Kitson Kelly
8756ec7f8c
feat(crypto): add KeyStack for rotatable key data signing (#2303) 2022-08-16 15:07:26 +10:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
Kitson Kelly
711caea67d
feat(crypto): add subtle.timingSafeEqual() (#2503) 2022-08-11 20:06:26 +10:00
Bartek Iwańczuk
c2a8951c04
chore: update to changes in spawn API (#2448) 2022-07-19 02:35:19 +02:00
David Sherret
e72e13db63
refactor: use wasmbuild (#2319) 2022-06-08 11:19:50 -04:00
Lucas Henrique
c5589ef4d1
feat(crypto): add fnv algorithms (#2200)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-01 14:42:32 +09:00
Leo Kettmeir
852968f631
refactor: switch the Deno.spawn (#2161) 2022-05-25 11:08:27 +02:00
like-nanhai
c75454c44b
docs: add module level docs (#2190) 2022-05-04 19:34:37 +09:00
Eliaz Bobadilla
d135c8874d
chore(crypto): migrate from testing/bench to Deno.bench (#2173) 2022-05-03 22:09:11 +09:00
Bartek Iwańczuk
14a0dcc1e6
chore(node): change .js extensions to .mjs (#1955)
This commit changes extensions in multiple files mainly
in "node/" directory. This is necessary for CJS/ESM interop,
as ".js" extensions are considered to be CommonJS modules
instead of ES modules.
2022-02-24 16:42:01 +01:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Bartek Iwańczuk
dc7e0f2495
crypto: remove type definitions (#1818) 2022-01-12 12:30:39 +01:00
Bartek Iwańczuk
d7bdbfa3ef
feat(crypto): add md4 hash (#1799) 2022-01-09 17:32:54 +01:00
Luca Casonato
a2a2cb58aa
chore(crypto): export interface for docs (#1781) 2022-01-03 16:17:25 +01:00
lmx-Hexagram
74b12a5c77
docs(crypto): change example from print array to Uint8Array (#1775) 2022-01-02 00:04:56 +09:00
lmx-Hexagram
52793e515d
docs(crypto): add supported algorithms (#1771) 2021-12-31 20:46:10 +09:00
Kevin Ennis
6b4ba7c925
feat(crypto): add Tiger hash (#1749) 2021-12-24 18:35:28 +09:00
ud2
5958c4bc2b
fix(crypto/digest): always return the underlying ArrayBuffer (#1515) 2021-11-04 20:57:40 +09:00
herkulessi
17e41d6c91
docs(crypto): update README.md exaples (#1447) 2021-10-23 01:07:17 +09:00
Yasser A.Idrissi
a3257fa340
fix(crypto): support length option in crypto.subtle.digest (#1386) 2021-10-19 11:57:06 +09:00
Ahab
0c61afed0c
perf(crypto): reduce one mircotask (#1307) 2021-09-25 14:30:03 +05:30
Leon Strauss
edcc477234
fix(crypto): make crypto bench depend on sibling version of testing module (#1135) 2021-08-16 11:53:42 +09:00
Jeremy Banks
662139c097
feat(crypto): add std/crypto wrapping and extending runtime WebCrypto (#1025) 2021-07-29 04:37:02 -07:00