1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 11:27:57 -05:00
denoland-deno/ext/node/polyfills/internal/crypto
Luca Casonato 08e5606c34
fix(ext/node): rewrite digest handling (#24392)
Previously we had many different code paths all
handling digests in different places, all with
wildly different digest support. This commit
rewrites this to use a single digest handling
mechanism for all digest operations.

It adds various aliases for digest algorithms,
like node does. For example
`sha1WithRSAEncryption` is an alias for `sha1`.

It also adds support for `md5-sha1` digests in
various places.
2024-07-05 10:10:22 +02:00
..
_keys.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_randomBytes.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
_randomFill.mjs refactor: Use virtul ops module (#22175) 2024-01-29 22:02:26 +01:00
_randomInt.ts refactor: migrate 'ext/node' extension to virtual ops module (#22157) 2024-01-29 14:58:08 +01:00
certificate.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
cipher.ts fix(ext/node): crypto.getCipherInfo() (#22916) 2024-03-14 19:00:29 +05:30
constants.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
diffiehellman.ts fix(ext/node): ECDH.publicKey() point encoding (#23013) 2024-03-21 14:11:54 +05:30
hash.ts fix(ext/node): rewrite crypto.Hash (#24302) 2024-06-24 11:47:12 +02:00
hkdf.ts fix(ext/node): rewrite digest handling (#24392) 2024-07-05 10:10:22 +02:00
keygen.ts fix(ext/node): exporting rsa public keys (#23596) 2024-04-29 19:16:38 +05:30
keys.ts fix(ext/node): add Symbol.toStringTag to KeyObject instances (#24377) 2024-07-02 00:36:22 +02:00
pbkdf2.ts fix(ext/node): rewrite digest handling (#24392) 2024-07-05 10:10:22 +02:00
random.ts refactor: Use virtul ops module (#22175) 2024-01-29 22:02:26 +01:00
scrypt.ts refactor: migrate 'ext/node' extension to virtual ops module (#22157) 2024-01-29 14:58:08 +01:00
sig.ts fix(ext/node): rewrite digest handling (#24392) 2024-07-05 10:10:22 +02:00
types.ts fix(ext/node): rewrite digest handling (#24392) 2024-07-05 10:10:22 +02:00
util.ts fix(ext/node): support public key point encoding in ECDH.generateKeys() (#22976) 2024-03-18 13:20:10 +05:30
x509.ts refactor: migrate 'ext/node' extension to virtual ops module (#22157) 2024-01-29 14:58:08 +01:00