mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Expose SHA3 hashing algorithm through WebCryptoAPI
This give us 48 WPT subtests :)
This commit is contained in:
Notes:
github-actions[bot]
2025-11-27 03:01:53 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/5e736d4e07b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6942
@@ -1152,6 +1152,11 @@ SupportedAlgorithmsMap const& supported_algorithms()
|
||||
define_an_algorithm<SHA>("digest"_string, "SHA-384"_string);
|
||||
define_an_algorithm<SHA>("digest"_string, "SHA-512"_string);
|
||||
|
||||
// https://wicg.github.io/webcrypto-modern-algos/#sha3-registration
|
||||
define_an_algorithm<SHA>("digest"_string, "SHA3-256"_string);
|
||||
define_an_algorithm<SHA>("digest"_string, "SHA3-384"_string);
|
||||
define_an_algorithm<SHA>("digest"_string, "SHA3-512"_string);
|
||||
|
||||
// https://w3c.github.io/webcrypto/#hkdf-registration
|
||||
define_an_algorithm<HKDF, HKDFParams>("deriveBits"_string, "HKDF"_string);
|
||||
define_an_algorithm<HKDF>("importKey"_string, "HKDF"_string);
|
||||
|
||||
Reference in New Issue
Block a user