Consider replacing the dependency rfc4648
in favor of the built-in methods Uint8Array.toBase64
and Uint8Array.fromBase64()
#55
Labels
enhancement
New feature or request
This would remove the only client side JS dependency and simplify the decryption script.
See the proposal for more details and usage examples:
https://github.com/tc39/proposal-arraybuffer-base64
This was just implemented in Firefox, but we'll probably need to wait 1-2 years for sufficient browser support.
We could add a polyfill instead of using the rfc4648 library, to allow us to switch to this new API earlier.
https://github.com/zloirock/core-js?tab=readme-ov-file#uint8array-to--from-base64-and-hex
The text was updated successfully, but these errors were encountered: