Skip to content

bitwiseshiftleft/sjcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

85caa53 · Jul 13, 2019
Oct 13, 2015
May 31, 2016
Jul 4, 2017
Jul 13, 2019
May 31, 2016
Feb 20, 2019
May 31, 2016
May 31, 2016
Dec 28, 2016
Oct 22, 2016
Nov 10, 2018
Nov 8, 2015
Aug 13, 2016
Aug 30, 2015
Nov 10, 2018
Sep 10, 2016
Aug 13, 2016
Jun 1, 2016
Apr 25, 2019
Jul 4, 2017

Repository files navigation

sjcl

Build Status

Join the chat at https://gitter.im/bitwiseshiftleft/sjcl

Stanford Javascript Crypto Library

Security Advisories

  • 12.02.2014: the current development version has a paranoia bug in the ecc module. The bug was introduced in commit ac0b3fe0 and might affect ecc key generation on platforms without a platform random number generator.

Security Contact

Security Mail: sjcl@ovt.me
OpenPGP-Key Fingerprint: 0D54 3E52 87B4 EC06 3FA9 0115 72ED A6C7 7AAF 48ED
Keyserver: pool.sks-keyservers.net

Upgrade Guide

1.0.3 -> 1.0.4

codecBase32 has been re-enabled with changes to conform to RFC 4648:

  • Padding with = is now applied to the output of fromBits. If you don't want that padding, you can disable it by calling fromBits with a second parameter of true or anything that evaluates as "truthy" in JS
  • The encoding alphabet for sjcl.codec.base32 now matches that specified by the RFC, rather than the extended hex alphabet.
  • The former extended hex alphabet is now available through sjcl.codec.base32hex (also matching the RFC). So if you encoded something with base32 before, you'll want to decode it with base32hex now.

Documentation

The documentation is available here