Include support for KDF generated using MD5 #30
Labels
@encrypted-uri/ciphers
Issue on @encrypted-uri/ciphers lib
feature request
New feature or request
help wanted
Extra attention is needed
The first app to implement Encrypted URI was Private QRCode (https://github.com/antonioconselheiro/private-qrcode?tab=readme-ov-file, https://antonioconselheiro.github.io/private-qrcode/#/home) and it uses crypto-js instead @noble/hashes or @noble/ciphers, but for default crypto-js uses MD5 to generate the cipher key (the default hasher for KDF) and @noble uses SHA256 for default, but does have an implementation for MD5.
This issue requires support for MD5 in @encrypted-uri/ciphers and an implementation of @encrypted-uri/crypto-js using crypto-js to generate the URI (must include h param with MD5 if use the default configuration). To ensure interoperability, @encrypted-uri/crypto-js must pass in all tests created for @encrypted-uri/ciphers.
The text was updated successfully, but these errors were encountered: