Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Cryptography
  3. sjcl

sjcl

NOASSERTIONJavaScript1.0.8

A deprecated JavaScript library for cryptographic operations including encryption, hashing, and key generation.

Visit WebsiteGitHubGitHub
7.2k stars995 forks0 contributors

What is sjcl?

SJCL (Stanford JavaScript Crypto Library) is a deprecated open-source JavaScript library that provides a suite of cryptographic functions, including encryption, hashing, and key generation. It was designed to enable secure cryptographic operations directly in web browsers and other JavaScript environments, addressing the need for client-side data protection without server dependencies.

Target Audience

JavaScript developers and web application engineers who required client-side cryptographic capabilities, such as for securing user data, implementing authentication, or building privacy-focused tools.

Value Proposition

Developers chose SJCL for its comprehensive, self-contained cryptographic toolkit in pure JavaScript, which was once a reliable solution for browser-based security. However, due to deprecation and security vulnerabilities, it is no longer recommended for new projects.

Overview

[DEPRECATED] Stanford Javascript Crypto Library

Use Cases

Best For

  • Adding client-side encryption to web applications
  • Implementing secure password hashing in JavaScript
  • Performing ECDH key exchange in browser environments
  • Converting data between binary and Base32/hex encodings
  • Generating cryptographically secure random numbers in JS
  • Building educational tools for learning cryptography concepts

Not Ideal For

  • Projects requiring adherence to current cryptographic standards and regular security updates
  • Applications that must pass rigorous security audits or comply with data protection regulations like GDPR
  • Teams needing active community support, comprehensive documentation, and integration with modern JavaScript frameworks

Pros & Cons

Pros

Comprehensive Cryptographic Toolkit

Provided a wide range of functions including AES encryption, SHA-256 hashing, ECC for key exchange, and various encodings like Base32, all in a single library.

Pure JavaScript Implementation

Enabled cryptographic operations directly in web browsers without server dependencies, making it suitable for client-side data protection in its time.

Security-Focused Design Philosophy

Prioritized correctness and security in implementations, as evidenced by its detailed security advisories and fixes for vulnerabilities like the ECC bug.

Cons

Deprecated and Unmaintained

Explicitly marked as deprecated with no active development, making it risky for production use and unsuitable for new projects due to lack of updates.

Known Security Vulnerabilities

Has serious bugs such as missing point-on-curve validation in ECC, which could lead to private key recovery attacks, as documented in the README.

Outdated Standards and Ecosystem

Lacks support for modern cryptographic algorithms, has limited documentation, and minimal community engagement, hindering integration with contemporary tools.

Frequently Asked Questions

Quick Stats

Stars7,200
Forks995
Contributors0
Open Issues107
Last commit5 months ago
CreatedSince 2010

Tags

#deprecated#encryption-library#elliptic-curve-cryptography#aes#crypto-toolkit#hash-functions#browser-security

Built With

J
JavaScript

Links & Resources

Website

Included in

Cryptography6.8k
Auto-fetched 7 hours ago

Related Projects

crypto-jscrypto-js

JavaScript library of crypto standards.

Stars16,409
Forks2,493
Last commit2 years ago
node.bcrypt.jsnode.bcrypt.js

bcrypt for NodeJs

Stars7,802
Forks551
Last commit4 months ago
jsencryptjsencrypt

A tiny (18.5 kB gzip), zero-dependency, Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.

Stars6,805
Forks1,995
Last commit5 months ago
OpenPGP.jsOpenPGP.js

OpenPGP implementation for JavaScript

Stars5,967
Forks825
Last commit12 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub