Skip to content

Commit

Permalink
Test vectors and reference implementations with and without Web Crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Nov 25, 2024
1 parent 18966ca commit 06220fe
Show file tree
Hide file tree
Showing 3 changed files with 687 additions and 258 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,5 +460,6 @@ export function numberToUint32(value: number, littleEndian = false) {
* @returns Whether the Web Crypto API is supported.
*/
export function isWebCryptoSupported() {
console.log('isWebCryptoSupported called!');
return Boolean(globalThis.crypto?.subtle);
}
Loading

0 comments on commit 06220fe

Please sign in to comment.