WebAssembly and ASM.JS (pure JS) Ponyfill for AES encryption/decryption to use when (and preferably only when) the SubtleCrypto API is not available.
  • C++ 38.3%
  • HTML 27.9%
  • JavaScript 25.6%
  • Shell 8.2%
Find a file
2025-08-22 18:01:40 +02:00
cryptopp@60f81a77e0 Initial release 2025-08-17 14:42:40 +02:00
emsdk@404dc1ec13 Initial release 2025-08-17 14:42:40 +02:00
.gitignore Initial release 2025-08-17 14:42:40 +02:00
.gitmodules Initial release 2025-08-17 14:42:40 +02:00
build.sh build.sh fixes 2025-08-17 15:19:54 +02:00
combine.js Initial release 2025-08-17 14:42:40 +02:00
demo.en.html finally done after mental breakdown (lmao) 2025-08-22 14:43:16 +02:00
demo.fr.html finally done after mental breakdown (lmao) 2025-08-22 14:43:16 +02:00
LICENSE.md Initial release 2025-08-17 14:42:40 +02:00
README.md fix indent 2025-08-22 18:01:40 +02:00
wrapper.cpp i actually didnt fix it 🤡 2025-08-22 17:44:27 +02:00
wrapper.js finally done after mental breakdown (lmao) 2025-08-22 14:43:16 +02:00

AESPonyfill

Ponyfill for AES encryption/decryption to use when (and preferably only when) the SubtleCrypto API is not available.

NOTE

To clone the repo, use:

git clone https://git.xeaf.dev/xeaf/AESPonyfill --recursive

If you do not use --recursive, the Git submodules won't be downloaded, and building will be impossible.

If you already made a clone, you can download the Git submodules like so:

git submodule update --init --recursive

Demo

You can simply double-click the HTML file to load the demo, or run a local webserver that serves the current directory via python3 -m http.server 8080. Remember, you still need to build the bundle first and place the minified version in the same directory as the HTML. You can download the prebuilt bundle from the "Releases" tab, or build it yourself by running bash build.sh which will do (almost) everything necessary.

NOTE

Building on Windows is not supported. Please use WSL instead.