libsodium.js is a JavaScript and WebAssembly port of the widely used libsodium cryptographic library, providing modern, high-level cryptographic functions for secure application development in web and Node.js environments. It exposes a comprehensive set of APIs for encryption, decryption, hashing, digital signatures, and key exchange, all designed to be safe and easy to use without requiring deep cryptographic expertise. The library leverages WebAssembly for improved performance, enabling near-native execution speeds within browsers and JavaScript runtimes. It is designed to prevent common cryptographic mistakes by offering secure defaults and abstractions that reduce the risk of misuse. libsodium.js is particularly useful for building secure web applications, messaging systems, and privacy-focused tools that require client-side encryption. It also maintains compatibility with the native libsodium library, allowing interoperability across different platforms and languages.

Features

  • WebAssembly-powered high-performance cryptographic operations
  • Support for encryption, hashing, signatures, and key exchange
  • Secure-by-default APIs to reduce implementation errors
  • Compatibility with native libsodium across platforms
  • Usable in both browser and Node.js environments
  • Designed for modern secure web and application development

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow libsodium.js

libsodium.js Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libsodium.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

2026-03-27