Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(crypto): add std/crypto wrapping and extending runtime WebCrypto #1025

Merged
merged 26 commits into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5fecc52
BREAKING CHANGE(hash): Expand hashing interface in line with other la…
jeremyBanks Jul 12, 2021
f5bf81a
BREAKING(hash): Expand hashing interface in line with other languages
jeremyBanks Jul 14, 2021
b9837e3
Merge branch 'main' into main
jeremyBanks Jul 14, 2021
e458ead
add assertion for unicode encoding
jeremyBanks Jul 14, 2021
13541c7
Merge remote-tracking branch 'origin/main' into main
jeremyBanks Jul 14, 2021
939327e
reword warning
jeremyBanks Jul 14, 2021
1a2ae47
feat(hash): Add support for BLAKE2b's -384 and -256 variants.
jeremyBanks Jul 14, 2021
d4c4231
formatting and minor fixes
jeremyBanks Jul 15, 2021
2af702e
BREAKING: remove std/hash, add std/crypto, add std/_wasm_crypto, upda…
jeremyBanks Jul 20, 2021
6cc5137
Merge remote-tracking branch 'origin/main' into HEAD
jeremyBanks Jul 20, 2021
4e34f35
#6
jeremyBanks Jul 21, 2021
abe7b91
add a stream and a generator to digest test case
jeremyBanks Jul 22, 2021
872781d
jeremyBanks Jul 22, 2021
0b481f1
jeremyBanks Jul 22, 2021
7eb278f
jeremyBanks Jul 22, 2021
50edb77
improve doc strings
jeremyBanks Jul 23, 2021
f36b341
Merge remote-tracking branch 'origin/main' into main
jeremyBanks Jul 23, 2021
b8442a4
jeremyBanks Jul 23, 2021
acc045b
jeremyBanks Jul 23, 2021
ed6c958
jeremyBanks Jul 23, 2021
bc98941
Merge remote-tracking branch 'origin/main' into main
jeremyBanks Jul 24, 2021
06d8b1e
add missing copyright headers
jeremyBanks Jul 24, 2021
d69a2fd
upgrade BLAKE3 crate to 1.0.0, add more tests
jeremyBanks Jul 27, 2021
bd57bde
jeremyBanks Jul 27, 2021
c1eb554
jeremyBanks Jul 27, 2021
65b2168
kick ci
jeremyBanks Jul 27, 2021
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
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: |-
set -o errexit
shopt -s inherit_errexit
declare modifications="$(git diff --name-only HEAD~ -- ./hash/_wasm/)"
declare modifications="$(git diff --name-only HEAD~ -- ./_wasm_crypto)"
declare modified="$([[ "$modifications" ]] && echo true || echo false)"
echo "::set-output name=modified::$modified"
echo "Hash source modified in this commit? $modified"
Expand All @@ -113,6 +113,7 @@ jobs:
# This must match the version in hash/_wasm/rust-toolchain:
rust-version: 1.53.0
targets: wasm32-unknown-unknown
components: rustfmt

- name: Set up wasm-bindgen-cli
run: |-
Expand All @@ -124,7 +125,7 @@ jobs:
id: build
if: success() && steps.source.outputs.modified == 'true'
run: |-
./hash/_wasm/build.ts
./_wasm_crypto/_build.ts

set -o errexit
shopt -s inherit_errexit
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ package.json
package-lock.json
.vscode/settings.json
**/cov/
/hash/_wasm/target
/hash/_wasm/out
/_wasm_crypto/target
4 changes: 4 additions & 0 deletions _wasm_crypto/.rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2
edition = "2018"
Loading