0.12.0 ā€¢ Published 3 days ago

@mtcute/wasm v0.12.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 days ago

@mtcute/wasm

šŸ“– API Reference

Highly optimized for size & speed WASM implementation of common algorithms used in Telegram.

Features

  • Super lightweight: Only 47 KB raw, 24 KB gzipped
  • Blazingly fast: Up to 10x faster than pure JS implementations
  • Ready to use: Implements almost all algos used in MTProto:
    • AES IGE
    • Deflate (zlib compression + gunzip)
    • SHA-1, SHA-256

Acknowledgements

  • Deflate is implemented through a modified version of libdeflate, MIT license.
    • Modified by kamillaova to support WASM and improve bundle size
  • AES IGE code is mostly based on tgcrypto, LGPL-3.0 license.
    • To comply with LGPL-3.0, the source code of the modified tgcrypto is available here under LGPL-3.0 license.
  • SHA1 is based on teeny-sha1
  • SHA256 is based on lekkit/sha256

Benchmarks

See https://github.com/mtcute/benchmarks

0.12.0

3 days ago

0.11.0

18 days ago

0.10.0

1 month ago

0.9.0

2 months ago

0.8.0

2 months ago

0.7.2

3 months ago

0.7.0

3 months ago

0.6.0

5 months ago

0.4.0

5 months ago

0.3.0

5 months ago

0.2.0

5 months ago

0.1.1

6 months ago