summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* fix for a chrome optimization bug on androidNils Kenneweg2017-07-041-3/+3
|
* Implemented Z85 EncodingManjul Apratim2016-08-131-0/+134
| | | | | | | | | | | | The implementation follows the ZeroMQ RFC spec: http://rfc.zeromq.org/spec:32/Z85/ Test Plan: Added test cases for Z85-encoding from the following sources: * The RFC itself * The PyZMQ Implementation. * The Base85 encoding example of Thomas Hobbes' "Leviathan". All test cases pass.
* Merge pull request #302 from ph4r05/bigHashExceptionNils Kenneweg2016-06-103-0/+11
|\ | | | | If hashing more than 2^53-1 bits, throw exception, #299
| * If hashing more than 2^53-1 bits, throw exception, #299Dusan Klinec2016-06-103-0/+11
| |
* | MAX_SAFE_INTEGER - Use the number limit directlyDusan Klinec2016-06-091-7/+1
| |
* | ripemd: If hashing more than 2^53-1 bits, throw exception, #299Dusan Klinec2016-06-091-0/+9
| |
* | Fixing ripemd for inputs > 256MB, #299Dusan Klinec2016-06-091-1/+1
|/ | | | - same as in issue #299 with inputs larger than 256MB
* Fixing issue #299, SHAx hashes only 256MB of dataDusan Klinec2016-06-023-6/+6
|
* Merge pull request #297 from federicobond/jsdoc-improvementsNils Kenneweg2016-06-015-8/+13
|\ | | | | Fix JSDoc tags for full documentation
| * Fix JSDoc tags for full documentationFederico Bond2016-05-315-8/+13
| |
* | Fix some lint errorsFederico Bond2016-05-316-36/+36
|/
* Replace strings with objects in throw declarationsFederico Bond2016-05-312-2/+2
|
* Add missing new to throw statementFederico Bond2016-05-311-1/+1
|
* Update JSDoc tagsFederico Bond2016-05-306-10/+10
|
* Update documentation to JSDoc 3Federico Bond2016-05-3020-33/+91
|
* Increment default PBKDF2 iteration countFederico Bond2016-05-292-2/+2
|
* --no-export option has been added.Alexander Slesarev2016-02-252-9/+8
|
* Ambiguous labels error in DW has been fixed.Alexander Slesarev2016-02-242-20/+24
|
* Merge pull request #243 from miha-stopar/sha_optimizationNils Kenneweg2016-02-133-16/+73
|\ | | | | SHA functions made faster
| * comment addedMiha Stopar2016-02-122-2/+2
| |
| * Method parameters info fixed.Miha Stopar2016-02-113-4/+3
| |
| * SHA made fasterMiha Stopar2015-09-293-13/+71
| |
* | Merge pull request #263 from letorbi/ctr-modeNils Kenneweg2016-01-041-0/+72
|\ \ | | | | | | Add CTR mode
| * | Remove code duplicates in CTR implementationTorben2016-01-041-24/+11
| | |
| * | Fix unwanted side-effects if ctr _calculate methodTorben2015-12-161-10/+11
| | |
| * | Add AES mode of operation: CTRTorben2015-12-061-0/+84
| | |
* | | Fixed bug in sjcl.prngSteve Thomas2016-01-031-6/+7
| | | | | | | | | Only sjcl.random gets entropy from events. (I added my name to authors because I forgot to in #60)
* | | Merge pull request #261 from letorbi/ecc-curve-fixesNils Kenneweg2015-12-101-3/+1
|\ \ \ | | | | | | | | Fix leading-zero stripping in bn normalize method (makes ECC curves k256 & k192 usable again)
| * | | Add trim call to normalize method; Fix some whitespace errosTorben2015-12-101-0/+1
| | | |
| * | | Revert "Add leading-zero stripping option to big number toString method"Torben2015-12-101-8/+5
| | | | | | | | | | | | | | | | This reverts commit 2e828715daa64fc4ea7be8fab7d341e64618206f.
| * | | Add leading-zero stripping option to big number toString methodTorben2015-12-101-5/+8
| | | |
| * | | Remove leading-zero stripping from big number normalizationTorben2015-12-101-3/+0
| |/ /
* | | Merge pull request #249 from Sc00bz/masterNils Kenneweg2015-12-101-0/+46
|\ \ \ | | | | | | | | Added HKDF
| * | | Added HKDFSteve Thomas2015-11-011-0/+46
| |/ /
* | | Merge pull request #246 from miha-stopar/feature/serialization_with_testsNils Kenneweg2015-12-101-7/+77
|\ \ \ | |/ / |/| | Serialization/deserialization of public keys added; serialization tests added
| * | serialization code improvedMiha Stopar2015-10-271-29/+31
| | |
| * | Serialization/deserialization added; serialization tests addedMiha Stopar2015-10-221-6/+74
| |/
* | First commit of ocb2progressive implementationgyf3042015-10-251-0/+137
|/ | | | Tested, but no guarantee.
* base32.toBits fallback for invalid characterRob Yoder2015-08-171-0/+7
|
* Automatic whitespace removalRob Yoder2015-08-171-2/+2
|
* Merge branch 'master' into base32-improvementsRob Yoder2015-08-172-1/+147
|\ | | | | | | | | # Conflicts: # core/codecBase32.js
| * Merge pull request #233 from robyoder/fix-base32-encoding-bugNils Kenneweg2015-08-171-1/+1
| |\ | | | | | | Fix #216 Extra 0 produced by base32 encoding
| | * Fix #216 Extra 0 produced by base32 encodingRob Yoder2015-08-131-1/+1
| | |
| * | Speed improvementsBrendan Mc2015-06-251-42/+49
| | |
| * | Moved helper functions into scrypt namespaceBrendan Mc2015-06-171-12/+16
| | |
| * | Moved functions into global namespace.Brendan McMillion2015-06-161-83/+83
| | |
| * | Input validation & more tests for scrypt.Brendan Mc2015-06-161-3/+24
| | |
| * | Implemented scrypt.Brendan Mc2015-06-151-0/+114
| |/ | | | | | | - Added tests.
* | Adding hex encodingRob Yoder2015-08-131-4/+19
| |
* | Adding `=` padding and allowing case insensitivityRob Yoder2015-08-131-0/+2
| |
* | Fix Base32 AlphabetRob Yoder2015-08-131-1/+1
|/ | | As specified in [RFC 4648](http://tools.ietf.org/html/rfc4648#section-6)
* Remove leading zero limbs in sjcl.bn.normalizeChris Clark2015-05-261-0/+3
|
* Merge pull request #210 from bitwiseshiftleft/feature/arrayBufferNils Kenneweg2015-05-204-28/+428
|\ | | | | Feature/array buffer
| * Merge branch 'master' into feature/arrayBufferNils Kenneweg2015-05-203-59/+345
| |\
| * | progress for arraybuffer ccm.Nils Kenneweg2015-02-101-1/+5
| | |
| * | Revert "Adding check for max IV Length"Nils Kenneweg2015-02-101-2/+2
| | | | | | | | | | | | This reverts commit 52df6964740c33529484f302217cc71acbccbb01.
| * | use array buffers in convenience if an arraybuffer is passed.Nils Kenneweg2015-02-081-2/+10
| | |
| * | Merge branch 'feature/progress' into feature/arrayBufferNils Kenneweg2015-02-081-1/+26
| |\ \
| | * \ Merge branch 'master' into feature/progressNils Kenneweg2015-02-085-39/+268
| | |\ \
| | * | | progress listener added.origin/feature/progressNils Kenneweg2014-09-121-1/+26
| | | | |
| * | | | Merge branch 'master' into feature/arrayBufferNils Kenneweg2015-02-084-35/+249
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | iv can now be any. disadvantage: no adata_buffers allowed any more.Nils Kenneweg2014-09-281-25/+10
| | | | |
| * | | | reuse parts of original ccm mode. (compatibility for all ivs in sight)Nils Kenneweg2014-09-282-138/+65
| | | | |
| * | | | hint fixes.Nils Kenneweg2014-09-281-97/+98
| | | | |
| * | | | make compatible with nodejs.Nils Kenneweg2014-09-262-43/+58
| | | | |
| * | | | Merge remote-tracking branch 'origin/master' into HEADNils Kenneweg2014-09-2615-178/+515
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile
| * | | | | Added tests for arraybuffer codec, and now will throw error if you try to ↵Marco Munizaga2013-10-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | convert bitLength%8 !==0 since arraybuffers work in bytes
| * | | | | array buffer codec can now handle buffer with byteLength%4!==0Marco Munizaga2013-10-261-8/+28
| | | | | |
| * | | | | Removed evalMarco Munizaga2013-10-262-16/+11
| | | | | |
| * | | | | Added faster arraybuffer version of ccmMarco Munizaga2013-10-262-4/+361
| | | | | |
| * | | | | Added array buffer codecMarco Munizaga2013-10-261-0/+55
| | | | | |
* | | | | | Merge pull request #212 from fruiz500/patch-1Nils Kenneweg2015-05-201-3/+3
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Allow empty values for JSON keys in convenience.js
| * | | | | Allow empty values for JSON keys in convenience.jsfruiz5002015-03-041-3/+3
| | | | | | | | | | | | | | | | | | This fixes issue #211. Line 213 in convenience.js was causing line 214 to be skipped when m[4] was empty, in addition to null values, and was causing decryption with an empty salt value to fail. I've updated the condition also in lines 211 and 215, hoping it helps solve yet undiscovered bugs.
* | | | | | Merge pull request #208 from Bren2010/bn-fix2Nilos2015-03-062-59/+337
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Montgomery Reduction
| * | | | | Style changeBrendan Mc2015-02-281-6/+13
| | | | | |
| * | | | | montIn uses montMult, nowBrendan Mc2015-02-251-2/+5
| | | | | |
| * | | | | Sliding window exp., docs, cleaning.Brendan Mc2015-02-251-15/+61
| | | | | |
| * | | | | Cleaning up codeBrendan Mc2015-02-251-8/+13
| | | | | |
| * | | | | Implemented Montgomery reduction et al.Brendan Mc2015-02-252-14/+223
| | | | | |
| * | | | | faster fix for `sjcl.bn.powermod` and `sjcl.bn.power`Brendan Mc2015-02-241-53/+61
| | | | | |
* | | | | | added missing commafruiz5002015-02-281-1/+1
| | | | | | | | | | | | | | | | | | Missing comma at the end of definition added
* | | | | | add NIST p521 curve parameters to ecc.jsfruiz5002015-02-281-0/+8
|/ / / / / | | | | | | | | | | I've been using these parameters for over 2 years and they work fine. They are the same proposed in #140 and #158
* | | | | Revert "Adding check for max IV Length"Nils Kenneweg2015-02-101-2/+2
| |_|/ / |/| | | | | | | | | | | This reverts commit 52df6964740c33529484f302217cc71acbccbb01.
* | | | Merge pull request #201 from nstarke/nstarke/ghi-180-aes-ccm-iv-length-checkNilos2015-01-251-2/+2
|\ \ \ \ | | | | | | | | | | Adding check for max IV Length
| * | | | Adding check for max IV Lengthnstarke2014-11-041-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | As per Github issue #180, there is no upper bound check for AES-CCM IV length. This PR address the issue by placing a check for the upper bound (13 bytes) for the IV length.
* | | | Merge pull request #199 from Bren2010/masterNilos2015-01-251-15/+13
|\ \ \ \ | | | | | | | | | | Fixed adata encoding bug.
| * | | | Revert 1d1bc48..709ae66Brendan Mc2014-11-252-76/+66
| | | | | | | | | | | | | | | | | | | | This rolls back to commit 1d1bc481ce9451b9998c5b6c17c43c8dd2bd2509.
| * | | | Revert "Fixed adata encoding bug."Brendan Mc2014-11-251-13/+15
| | | | | | | | | | | | | | | | | | | | This reverts commit 1d1bc481ce9451b9998c5b6c17c43c8dd2bd2509.
| * | | | faster fix for `sjcl.bn.powermod` and `sjcl.bn.power`Brendan Mc2014-11-251-53/+61
| | | | |
| * | | | Revert "`sjcl.bn.power` would freeze when not in a field"Brendan Mc2014-11-251-46/+56
| | | | | | | | | | | | | | | | | | | | This reverts commit b35ee6becdf59c3a05c69e234d17fe97c522b20a.
| * | | | `sjcl.bn.power` would freeze when not in a fieldBrendan Mc2014-11-241-56/+46
| | | | |
| * | | | Fixed adata encoding bug.Brendan Mc2014-10-311-15/+13
| |/ / /
* | | | Merge pull request #205 from Bren2010/ecc-negNilos2015-01-251-18/+27
|\ \ \ \ | | | | | | | | | | Added a way to negate points.
| * | | | Added a way to negate points.Brendan Mc2014-11-261-18/+27
| |/ / /
* | | | Merge pull request #137 from bitwiseshiftleft/feature/ripemd160Nilos2015-01-251-0/+207
|\ \ \ \ | |/ / / |/| | | RIPEMD160
| * | | RIPEMD160: finalizeArtem S Vybornov2013-11-251-6/+7
| | | |
| * | | RIPEMD160: Fix message length calculation and paddingArtem S Vybornov2013-11-251-7/+6
| | | |
| * | | RIPEMD160: Keys precomputation, endianess conversion, fix paddingArtem S Vybornov2013-11-251-8/+38
| | | |
| * | | RIPEMD-160 implementation, currently buggyNils Kenneweg2013-11-251-0/+177
| | | |
* | | | Merge pull request #151 from iwanvdschoor/masterNilos2014-09-181-2/+15
|\ \ \ \ | | | | | | | | | | Added additional listeners to allow entropy collection off of the touchm...