@gsc-basic/utils 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -12
- package/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- package/node_modules/crypto-js/LICENSE +0 -24
- package/node_modules/crypto-js/README.md +0 -275
- package/node_modules/crypto-js/aes.js +0 -234
- package/node_modules/crypto-js/blowfish.js +0 -471
- package/node_modules/crypto-js/bower.json +0 -39
- package/node_modules/crypto-js/cipher-core.js +0 -895
- package/node_modules/crypto-js/core.js +0 -807
- package/node_modules/crypto-js/crypto-js.js +0 -6657
- package/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- package/node_modules/crypto-js/enc-base64.js +0 -136
- package/node_modules/crypto-js/enc-base64url.js +0 -148
- package/node_modules/crypto-js/enc-hex.js +0 -18
- package/node_modules/crypto-js/enc-latin1.js +0 -18
- package/node_modules/crypto-js/enc-utf16.js +0 -149
- package/node_modules/crypto-js/enc-utf8.js +0 -18
- package/node_modules/crypto-js/evpkdf.js +0 -134
- package/node_modules/crypto-js/format-hex.js +0 -66
- package/node_modules/crypto-js/format-openssl.js +0 -18
- package/node_modules/crypto-js/hmac-md5.js +0 -18
- package/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- package/node_modules/crypto-js/hmac-sha1.js +0 -18
- package/node_modules/crypto-js/hmac-sha224.js +0 -18
- package/node_modules/crypto-js/hmac-sha256.js +0 -18
- package/node_modules/crypto-js/hmac-sha3.js +0 -18
- package/node_modules/crypto-js/hmac-sha384.js +0 -18
- package/node_modules/crypto-js/hmac-sha512.js +0 -18
- package/node_modules/crypto-js/hmac.js +0 -143
- package/node_modules/crypto-js/index.js +0 -18
- package/node_modules/crypto-js/lib-typedarrays.js +0 -76
- package/node_modules/crypto-js/md5.js +0 -268
- package/node_modules/crypto-js/mode-cfb.js +0 -80
- package/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- package/node_modules/crypto-js/mode-ctr.js +0 -58
- package/node_modules/crypto-js/mode-ecb.js +0 -40
- package/node_modules/crypto-js/mode-ofb.js +0 -54
- package/node_modules/crypto-js/package.json +0 -42
- package/node_modules/crypto-js/pad-ansix923.js +0 -49
- package/node_modules/crypto-js/pad-iso10126.js +0 -44
- package/node_modules/crypto-js/pad-iso97971.js +0 -40
- package/node_modules/crypto-js/pad-nopadding.js +0 -30
- package/node_modules/crypto-js/pad-pkcs7.js +0 -18
- package/node_modules/crypto-js/pad-zeropadding.js +0 -47
- package/node_modules/crypto-js/pbkdf2.js +0 -145
- package/node_modules/crypto-js/rabbit-legacy.js +0 -190
- package/node_modules/crypto-js/rabbit.js +0 -192
- package/node_modules/crypto-js/rc4.js +0 -139
- package/node_modules/crypto-js/ripemd160.js +0 -267
- package/node_modules/crypto-js/sha1.js +0 -150
- package/node_modules/crypto-js/sha224.js +0 -80
- package/node_modules/crypto-js/sha256.js +0 -199
- package/node_modules/crypto-js/sha3.js +0 -326
- package/node_modules/crypto-js/sha384.js +0 -83
- package/node_modules/crypto-js/sha512.js +0 -326
- package/node_modules/crypto-js/tripledes.js +0 -779
- package/node_modules/crypto-js/x64-core.js +0 -304
- package/node_modules/lodash-es/LICENSE +0 -47
- package/node_modules/lodash-es/README.md +0 -10
- package/node_modules/lodash-es/_DataView.js +0 -7
- package/node_modules/lodash-es/_Hash.js +0 -32
- package/node_modules/lodash-es/_LazyWrapper.js +0 -28
- package/node_modules/lodash-es/_ListCache.js +0 -32
- package/node_modules/lodash-es/_LodashWrapper.js +0 -22
- package/node_modules/lodash-es/_Map.js +0 -7
- package/node_modules/lodash-es/_MapCache.js +0 -32
- package/node_modules/lodash-es/_Promise.js +0 -7
- package/node_modules/lodash-es/_Set.js +0 -7
- package/node_modules/lodash-es/_SetCache.js +0 -27
- package/node_modules/lodash-es/_Stack.js +0 -27
- package/node_modules/lodash-es/_Symbol.js +0 -6
- package/node_modules/lodash-es/_Uint8Array.js +0 -6
- package/node_modules/lodash-es/_WeakMap.js +0 -7
- package/node_modules/lodash-es/_addMapEntry.js +0 -15
- package/node_modules/lodash-es/_addSetEntry.js +0 -15
- package/node_modules/lodash-es/_apply.js +0 -21
- package/node_modules/lodash-es/_arrayAggregator.js +0 -22
- package/node_modules/lodash-es/_arrayEach.js +0 -22
- package/node_modules/lodash-es/_arrayEachRight.js +0 -21
- package/node_modules/lodash-es/_arrayEvery.js +0 -23
- package/node_modules/lodash-es/_arrayFilter.js +0 -25
- package/node_modules/lodash-es/_arrayIncludes.js +0 -17
- package/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
- package/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
- package/node_modules/lodash-es/_arrayMap.js +0 -21
- package/node_modules/lodash-es/_arrayPush.js +0 -20
- package/node_modules/lodash-es/_arrayReduce.js +0 -26
- package/node_modules/lodash-es/_arrayReduceRight.js +0 -24
- package/node_modules/lodash-es/_arraySample.js +0 -15
- package/node_modules/lodash-es/_arraySampleSize.js +0 -17
- package/node_modules/lodash-es/_arrayShuffle.js +0 -15
- package/node_modules/lodash-es/_arraySome.js +0 -23
- package/node_modules/lodash-es/_asciiSize.js +0 -12
- package/node_modules/lodash-es/_asciiToArray.js +0 -12
- package/node_modules/lodash-es/_asciiWords.js +0 -15
- package/node_modules/lodash-es/_assignMergeValue.js +0 -20
- package/node_modules/lodash-es/_assignValue.js +0 -28
- package/node_modules/lodash-es/_assocIndexOf.js +0 -21
- package/node_modules/lodash-es/_baseAggregator.js +0 -21
- package/node_modules/lodash-es/_baseAssign.js +0 -17
- package/node_modules/lodash-es/_baseAssignIn.js +0 -17
- package/node_modules/lodash-es/_baseAssignValue.js +0 -25
- package/node_modules/lodash-es/_baseAt.js +0 -23
- package/node_modules/lodash-es/_baseClamp.js +0 -22
- package/node_modules/lodash-es/_baseClone.js +0 -166
- package/node_modules/lodash-es/_baseConforms.js +0 -18
- package/node_modules/lodash-es/_baseConformsTo.js +0 -27
- package/node_modules/lodash-es/_baseCreate.js +0 -30
- package/node_modules/lodash-es/_baseDelay.js +0 -21
- package/node_modules/lodash-es/_baseDifference.js +0 -67
- package/node_modules/lodash-es/_baseEach.js +0 -14
- package/node_modules/lodash-es/_baseEachRight.js +0 -14
- package/node_modules/lodash-es/_baseEvery.js +0 -21
- package/node_modules/lodash-es/_baseExtremum.js +0 -32
- package/node_modules/lodash-es/_baseFill.js +0 -32
- package/node_modules/lodash-es/_baseFilter.js +0 -21
- package/node_modules/lodash-es/_baseFindIndex.js +0 -24
- package/node_modules/lodash-es/_baseFindKey.js +0 -23
- package/node_modules/lodash-es/_baseFlatten.js +0 -38
- package/node_modules/lodash-es/_baseFor.js +0 -16
- package/node_modules/lodash-es/_baseForOwn.js +0 -16
- package/node_modules/lodash-es/_baseForOwnRight.js +0 -16
- package/node_modules/lodash-es/_baseForRight.js +0 -15
- package/node_modules/lodash-es/_baseFunctions.js +0 -19
- package/node_modules/lodash-es/_baseGet.js +0 -24
- package/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
- package/node_modules/lodash-es/_baseGetTag.js +0 -28
- package/node_modules/lodash-es/_baseGt.js +0 -14
- package/node_modules/lodash-es/_baseHas.js +0 -19
- package/node_modules/lodash-es/_baseHasIn.js +0 -13
- package/node_modules/lodash-es/_baseInRange.js +0 -18
- package/node_modules/lodash-es/_baseIndexOf.js +0 -20
- package/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
- package/node_modules/lodash-es/_baseIntersection.js +0 -74
- package/node_modules/lodash-es/_baseInverter.js +0 -21
- package/node_modules/lodash-es/_baseInvoke.js +0 -24
- package/node_modules/lodash-es/_baseIsArguments.js +0 -18
- package/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
- package/node_modules/lodash-es/_baseIsDate.js +0 -18
- package/node_modules/lodash-es/_baseIsEqual.js +0 -28
- package/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
- package/node_modules/lodash-es/_baseIsMap.js +0 -18
- package/node_modules/lodash-es/_baseIsMatch.js +0 -62
- package/node_modules/lodash-es/_baseIsNaN.js +0 -12
- package/node_modules/lodash-es/_baseIsNative.js +0 -47
- package/node_modules/lodash-es/_baseIsRegExp.js +0 -18
- package/node_modules/lodash-es/_baseIsSet.js +0 -18
- package/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
- package/node_modules/lodash-es/_baseIteratee.js +0 -31
- package/node_modules/lodash-es/_baseKeys.js +0 -30
- package/node_modules/lodash-es/_baseKeysIn.js +0 -33
- package/node_modules/lodash-es/_baseLodash.js +0 -10
- package/node_modules/lodash-es/_baseLt.js +0 -14
- package/node_modules/lodash-es/_baseMap.js +0 -22
- package/node_modules/lodash-es/_baseMatches.js +0 -22
- package/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
- package/node_modules/lodash-es/_baseMean.js +0 -20
- package/node_modules/lodash-es/_baseMerge.js +0 -42
- package/node_modules/lodash-es/_baseMergeDeep.js +0 -94
- package/node_modules/lodash-es/_baseNth.js +0 -20
- package/node_modules/lodash-es/_baseOrderBy.js +0 -49
- package/node_modules/lodash-es/_basePick.js +0 -19
- package/node_modules/lodash-es/_basePickBy.js +0 -30
- package/node_modules/lodash-es/_baseProperty.js +0 -14
- package/node_modules/lodash-es/_basePropertyDeep.js +0 -16
- package/node_modules/lodash-es/_basePropertyOf.js +0 -14
- package/node_modules/lodash-es/_basePullAll.js +0 -51
- package/node_modules/lodash-es/_basePullAt.js +0 -37
- package/node_modules/lodash-es/_baseRandom.js +0 -18
- package/node_modules/lodash-es/_baseRange.js +0 -28
- package/node_modules/lodash-es/_baseReduce.js +0 -23
- package/node_modules/lodash-es/_baseRepeat.js +0 -35
- package/node_modules/lodash-es/_baseRest.js +0 -17
- package/node_modules/lodash-es/_baseSample.js +0 -15
- package/node_modules/lodash-es/_baseSampleSize.js +0 -18
- package/node_modules/lodash-es/_baseSet.js +0 -51
- package/node_modules/lodash-es/_baseSetData.js +0 -17
- package/node_modules/lodash-es/_baseSetToString.js +0 -22
- package/node_modules/lodash-es/_baseShuffle.js +0 -15
- package/node_modules/lodash-es/_baseSlice.js +0 -31
- package/node_modules/lodash-es/_baseSome.js +0 -22
- package/node_modules/lodash-es/_baseSortBy.js +0 -21
- package/node_modules/lodash-es/_baseSortedIndex.js +0 -42
- package/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
- package/node_modules/lodash-es/_baseSortedUniq.js +0 -30
- package/node_modules/lodash-es/_baseSum.js +0 -24
- package/node_modules/lodash-es/_baseTimes.js +0 -20
- package/node_modules/lodash-es/_baseToNumber.js +0 -24
- package/node_modules/lodash-es/_baseToPairs.js +0 -18
- package/node_modules/lodash-es/_baseToString.js +0 -37
- package/node_modules/lodash-es/_baseTrim.js +0 -19
- package/node_modules/lodash-es/_baseUnary.js +0 -14
- package/node_modules/lodash-es/_baseUniq.js +0 -72
- package/node_modules/lodash-es/_baseUnset.js +0 -20
- package/node_modules/lodash-es/_baseUpdate.js +0 -18
- package/node_modules/lodash-es/_baseValues.js +0 -19
- package/node_modules/lodash-es/_baseWhile.js +0 -26
- package/node_modules/lodash-es/_baseWrapperValue.js +0 -25
- package/node_modules/lodash-es/_baseXor.js +0 -36
- package/node_modules/lodash-es/_baseZipObject.js +0 -23
- package/node_modules/lodash-es/_cacheHas.js +0 -13
- package/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
- package/node_modules/lodash-es/_castFunction.js +0 -14
- package/node_modules/lodash-es/_castPath.js +0 -21
- package/node_modules/lodash-es/_castRest.js +0 -14
- package/node_modules/lodash-es/_castSlice.js +0 -18
- package/node_modules/lodash-es/_charsEndIndex.js +0 -19
- package/node_modules/lodash-es/_charsStartIndex.js +0 -20
- package/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
- package/node_modules/lodash-es/_cloneBuffer.js +0 -35
- package/node_modules/lodash-es/_cloneDataView.js +0 -16
- package/node_modules/lodash-es/_cloneMap.js +0 -22
- package/node_modules/lodash-es/_cloneRegExp.js +0 -17
- package/node_modules/lodash-es/_cloneSet.js +0 -22
- package/node_modules/lodash-es/_cloneSymbol.js +0 -18
- package/node_modules/lodash-es/_cloneTypedArray.js +0 -16
- package/node_modules/lodash-es/_compareAscending.js +0 -41
- package/node_modules/lodash-es/_compareMultiple.js +0 -44
- package/node_modules/lodash-es/_composeArgs.js +0 -39
- package/node_modules/lodash-es/_composeArgsRight.js +0 -41
- package/node_modules/lodash-es/_copyArray.js +0 -20
- package/node_modules/lodash-es/_copyObject.js +0 -40
- package/node_modules/lodash-es/_copySymbols.js +0 -16
- package/node_modules/lodash-es/_copySymbolsIn.js +0 -16
- package/node_modules/lodash-es/_coreJsData.js +0 -6
- package/node_modules/lodash-es/_countHolders.js +0 -21
- package/node_modules/lodash-es/_createAggregator.js +0 -23
- package/node_modules/lodash-es/_createAssigner.js +0 -37
- package/node_modules/lodash-es/_createBaseEach.js +0 -32
- package/node_modules/lodash-es/_createBaseFor.js +0 -25
- package/node_modules/lodash-es/_createBind.js +0 -28
- package/node_modules/lodash-es/_createCaseFirst.js +0 -33
- package/node_modules/lodash-es/_createCompounder.js +0 -24
- package/node_modules/lodash-es/_createCtor.js +0 -37
- package/node_modules/lodash-es/_createCurry.js +0 -46
- package/node_modules/lodash-es/_createFind.js +0 -25
- package/node_modules/lodash-es/_createFlow.js +0 -78
- package/node_modules/lodash-es/_createHybrid.js +0 -92
- package/node_modules/lodash-es/_createInverter.js +0 -17
- package/node_modules/lodash-es/_createMathOperation.js +0 -38
- package/node_modules/lodash-es/_createOver.js +0 -27
- package/node_modules/lodash-es/_createPadding.js +0 -33
- package/node_modules/lodash-es/_createPartial.js +0 -43
- package/node_modules/lodash-es/_createRange.js +0 -30
- package/node_modules/lodash-es/_createRecurry.js +0 -56
- package/node_modules/lodash-es/_createRelationalOperation.js +0 -20
- package/node_modules/lodash-es/_createRound.js +0 -35
- package/node_modules/lodash-es/_createSet.js +0 -19
- package/node_modules/lodash-es/_createToPairs.js +0 -30
- package/node_modules/lodash-es/_createWrap.js +0 -106
- package/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
- package/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
- package/node_modules/lodash-es/_customOmitClone.js +0 -16
- package/node_modules/lodash-es/_deburrLetter.js +0 -71
- package/node_modules/lodash-es/_defineProperty.js +0 -11
- package/node_modules/lodash-es/_equalArrays.js +0 -84
- package/node_modules/lodash-es/_equalByTag.js +0 -112
- package/node_modules/lodash-es/_equalObjects.js +0 -90
- package/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
- package/node_modules/lodash-es/_escapeStringChar.js +0 -22
- package/node_modules/lodash-es/_flatRest.js +0 -16
- package/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/node_modules/lodash-es/_getAllKeys.js +0 -16
- package/node_modules/lodash-es/_getAllKeysIn.js +0 -17
- package/node_modules/lodash-es/_getData.js +0 -15
- package/node_modules/lodash-es/_getFuncName.js +0 -31
- package/node_modules/lodash-es/_getHolder.js +0 -13
- package/node_modules/lodash-es/_getMapData.js +0 -18
- package/node_modules/lodash-es/_getMatchData.js +0 -24
- package/node_modules/lodash-es/_getNative.js +0 -17
- package/node_modules/lodash-es/_getPrototype.js +0 -6
- package/node_modules/lodash-es/_getRawTag.js +0 -46
- package/node_modules/lodash-es/_getSymbols.js +0 -30
- package/node_modules/lodash-es/_getSymbolsIn.js +0 -25
- package/node_modules/lodash-es/_getTag.js +0 -58
- package/node_modules/lodash-es/_getValue.js +0 -13
- package/node_modules/lodash-es/_getView.js +0 -33
- package/node_modules/lodash-es/_getWrapDetails.js +0 -17
- package/node_modules/lodash-es/_hasPath.js +0 -39
- package/node_modules/lodash-es/_hasUnicode.js +0 -26
- package/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
- package/node_modules/lodash-es/_hashClear.js +0 -15
- package/node_modules/lodash-es/_hashDelete.js +0 -17
- package/node_modules/lodash-es/_hashGet.js +0 -30
- package/node_modules/lodash-es/_hashHas.js +0 -23
- package/node_modules/lodash-es/_hashSet.js +0 -23
- package/node_modules/lodash-es/_initCloneArray.js +0 -26
- package/node_modules/lodash-es/_initCloneByTag.js +0 -77
- package/node_modules/lodash-es/_initCloneObject.js +0 -18
- package/node_modules/lodash-es/_insertWrapDetails.js +0 -23
- package/node_modules/lodash-es/_isFlattenable.js +0 -20
- package/node_modules/lodash-es/_isIndex.js +0 -25
- package/node_modules/lodash-es/_isIterateeCall.js +0 -30
- package/node_modules/lodash-es/_isKey.js +0 -29
- package/node_modules/lodash-es/_isKeyable.js +0 -15
- package/node_modules/lodash-es/_isLaziable.js +0 -28
- package/node_modules/lodash-es/_isMaskable.js +0 -14
- package/node_modules/lodash-es/_isMasked.js +0 -20
- package/node_modules/lodash-es/_isPrototype.js +0 -18
- package/node_modules/lodash-es/_isStrictComparable.js +0 -15
- package/node_modules/lodash-es/_iteratorToArray.js +0 -18
- package/node_modules/lodash-es/_lazyClone.js +0 -23
- package/node_modules/lodash-es/_lazyReverse.js +0 -23
- package/node_modules/lodash-es/_lazyValue.js +0 -69
- package/node_modules/lodash-es/_listCacheClear.js +0 -13
- package/node_modules/lodash-es/_listCacheDelete.js +0 -35
- package/node_modules/lodash-es/_listCacheGet.js +0 -19
- package/node_modules/lodash-es/_listCacheHas.js +0 -16
- package/node_modules/lodash-es/_listCacheSet.js +0 -26
- package/node_modules/lodash-es/_mapCacheClear.js +0 -21
- package/node_modules/lodash-es/_mapCacheDelete.js +0 -18
- package/node_modules/lodash-es/_mapCacheGet.js +0 -16
- package/node_modules/lodash-es/_mapCacheHas.js +0 -16
- package/node_modules/lodash-es/_mapCacheSet.js +0 -22
- package/node_modules/lodash-es/_mapToArray.js +0 -18
- package/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
- package/node_modules/lodash-es/_memoizeCapped.js +0 -26
- package/node_modules/lodash-es/_mergeData.js +0 -90
- package/node_modules/lodash-es/_metaMap.js +0 -6
- package/node_modules/lodash-es/_nativeCreate.js +0 -6
- package/node_modules/lodash-es/_nativeKeys.js +0 -6
- package/node_modules/lodash-es/_nativeKeysIn.js +0 -20
- package/node_modules/lodash-es/_nodeUtil.js +0 -30
- package/node_modules/lodash-es/_objectToString.js +0 -22
- package/node_modules/lodash-es/_overArg.js +0 -15
- package/node_modules/lodash-es/_overRest.js +0 -36
- package/node_modules/lodash-es/_parent.js +0 -16
- package/node_modules/lodash-es/_reEscape.js +0 -4
- package/node_modules/lodash-es/_reEvaluate.js +0 -4
- package/node_modules/lodash-es/_reInterpolate.js +0 -4
- package/node_modules/lodash-es/_realNames.js +0 -4
- package/node_modules/lodash-es/_reorder.js +0 -29
- package/node_modules/lodash-es/_replaceHolders.js +0 -29
- package/node_modules/lodash-es/_root.js +0 -9
- package/node_modules/lodash-es/_safeGet.js +0 -21
- package/node_modules/lodash-es/_setCacheAdd.js +0 -19
- package/node_modules/lodash-es/_setCacheHas.js +0 -14
- package/node_modules/lodash-es/_setData.js +0 -20
- package/node_modules/lodash-es/_setToArray.js +0 -18
- package/node_modules/lodash-es/_setToPairs.js +0 -18
- package/node_modules/lodash-es/_setToString.js +0 -14
- package/node_modules/lodash-es/_setWrapToString.js +0 -21
- package/node_modules/lodash-es/_shortOut.js +0 -37
- package/node_modules/lodash-es/_shuffleSelf.js +0 -28
- package/node_modules/lodash-es/_stackClear.js +0 -15
- package/node_modules/lodash-es/_stackDelete.js +0 -18
- package/node_modules/lodash-es/_stackGet.js +0 -14
- package/node_modules/lodash-es/_stackHas.js +0 -14
- package/node_modules/lodash-es/_stackSet.js +0 -34
- package/node_modules/lodash-es/_strictIndexOf.js +0 -23
- package/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
- package/node_modules/lodash-es/_stringSize.js +0 -18
- package/node_modules/lodash-es/_stringToArray.js +0 -18
- package/node_modules/lodash-es/_stringToPath.js +0 -27
- package/node_modules/lodash-es/_toKey.js +0 -21
- package/node_modules/lodash-es/_toSource.js +0 -26
- package/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
- package/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
- package/node_modules/lodash-es/_unicodeSize.js +0 -44
- package/node_modules/lodash-es/_unicodeToArray.js +0 -40
- package/node_modules/lodash-es/_unicodeWords.js +0 -69
- package/node_modules/lodash-es/_updateWrapDetails.js +0 -46
- package/node_modules/lodash-es/_wrapperClone.js +0 -23
- package/node_modules/lodash-es/add.js +0 -22
- package/node_modules/lodash-es/after.js +0 -42
- package/node_modules/lodash-es/array.default.js +0 -81
- package/node_modules/lodash-es/array.js +0 -66
- package/node_modules/lodash-es/ary.js +0 -29
- package/node_modules/lodash-es/assign.js +0 -58
- package/node_modules/lodash-es/assignIn.js +0 -40
- package/node_modules/lodash-es/assignInWith.js +0 -38
- package/node_modules/lodash-es/assignWith.js +0 -37
- package/node_modules/lodash-es/at.js +0 -23
- package/node_modules/lodash-es/attempt.js +0 -35
- package/node_modules/lodash-es/before.js +0 -40
- package/node_modules/lodash-es/bind.js +0 -57
- package/node_modules/lodash-es/bindAll.js +0 -41
- package/node_modules/lodash-es/bindKey.js +0 -68
- package/node_modules/lodash-es/camelCase.js +0 -29
- package/node_modules/lodash-es/capitalize.js +0 -23
- package/node_modules/lodash-es/castArray.js +0 -44
- package/node_modules/lodash-es/ceil.js +0 -26
- package/node_modules/lodash-es/chain.js +0 -38
- package/node_modules/lodash-es/chunk.js +0 -50
- package/node_modules/lodash-es/clamp.js +0 -39
- package/node_modules/lodash-es/clone.js +0 -36
- package/node_modules/lodash-es/cloneDeep.js +0 -29
- package/node_modules/lodash-es/cloneDeepWith.js +0 -40
- package/node_modules/lodash-es/cloneWith.js +0 -42
- package/node_modules/lodash-es/collection.default.js +0 -37
- package/node_modules/lodash-es/collection.js +0 -29
- package/node_modules/lodash-es/commit.js +0 -33
- package/node_modules/lodash-es/compact.js +0 -31
- package/node_modules/lodash-es/concat.js +0 -43
- package/node_modules/lodash-es/cond.js +0 -60
- package/node_modules/lodash-es/conforms.js +0 -35
- package/node_modules/lodash-es/conformsTo.js +0 -32
- package/node_modules/lodash-es/constant.js +0 -26
- package/node_modules/lodash-es/countBy.js +0 -40
- package/node_modules/lodash-es/create.js +0 -43
- package/node_modules/lodash-es/curry.js +0 -57
- package/node_modules/lodash-es/curryRight.js +0 -54
- package/node_modules/lodash-es/date.default.js +0 -5
- package/node_modules/lodash-es/date.js +0 -2
- package/node_modules/lodash-es/debounce.js +0 -191
- package/node_modules/lodash-es/deburr.js +0 -45
- package/node_modules/lodash-es/defaultTo.js +0 -25
- package/node_modules/lodash-es/defaults.js +0 -64
- package/node_modules/lodash-es/defaultsDeep.js +0 -30
- package/node_modules/lodash-es/defer.js +0 -26
- package/node_modules/lodash-es/delay.js +0 -28
- package/node_modules/lodash-es/difference.js +0 -33
- package/node_modules/lodash-es/differenceBy.js +0 -44
- package/node_modules/lodash-es/differenceWith.js +0 -40
- package/node_modules/lodash-es/divide.js +0 -22
- package/node_modules/lodash-es/drop.js +0 -38
- package/node_modules/lodash-es/dropRight.js +0 -39
- package/node_modules/lodash-es/dropRightWhile.js +0 -45
- package/node_modules/lodash-es/dropWhile.js +0 -45
- package/node_modules/lodash-es/each.js +0 -1
- package/node_modules/lodash-es/eachRight.js +0 -1
- package/node_modules/lodash-es/endsWith.js +0 -43
- package/node_modules/lodash-es/entries.js +0 -1
- package/node_modules/lodash-es/entriesIn.js +0 -1
- package/node_modules/lodash-es/eq.js +0 -37
- package/node_modules/lodash-es/escape.js +0 -43
- package/node_modules/lodash-es/escapeRegExp.js +0 -32
- package/node_modules/lodash-es/every.js +0 -56
- package/node_modules/lodash-es/extend.js +0 -1
- package/node_modules/lodash-es/extendWith.js +0 -1
- package/node_modules/lodash-es/fill.js +0 -45
- package/node_modules/lodash-es/filter.js +0 -52
- package/node_modules/lodash-es/find.js +0 -42
- package/node_modules/lodash-es/findIndex.js +0 -55
- package/node_modules/lodash-es/findKey.js +0 -44
- package/node_modules/lodash-es/findLast.js +0 -25
- package/node_modules/lodash-es/findLastIndex.js +0 -59
- package/node_modules/lodash-es/findLastKey.js +0 -44
- package/node_modules/lodash-es/first.js +0 -1
- package/node_modules/lodash-es/flake.lock +0 -40
- package/node_modules/lodash-es/flake.nix +0 -20
- package/node_modules/lodash-es/flatMap.js +0 -29
- package/node_modules/lodash-es/flatMapDeep.js +0 -31
- package/node_modules/lodash-es/flatMapDepth.js +0 -31
- package/node_modules/lodash-es/flatten.js +0 -22
- package/node_modules/lodash-es/flattenDeep.js +0 -25
- package/node_modules/lodash-es/flattenDepth.js +0 -33
- package/node_modules/lodash-es/flip.js +0 -28
- package/node_modules/lodash-es/floor.js +0 -26
- package/node_modules/lodash-es/flow.js +0 -27
- package/node_modules/lodash-es/flowRight.js +0 -26
- package/node_modules/lodash-es/forEach.js +0 -41
- package/node_modules/lodash-es/forEachRight.js +0 -31
- package/node_modules/lodash-es/forIn.js +0 -39
- package/node_modules/lodash-es/forInRight.js +0 -37
- package/node_modules/lodash-es/forOwn.js +0 -36
- package/node_modules/lodash-es/forOwnRight.js +0 -34
- package/node_modules/lodash-es/fromPairs.js +0 -28
- package/node_modules/lodash-es/function.default.js +0 -31
- package/node_modules/lodash-es/function.js +0 -24
- package/node_modules/lodash-es/functions.js +0 -31
- package/node_modules/lodash-es/functionsIn.js +0 -31
- package/node_modules/lodash-es/get.js +0 -33
- package/node_modules/lodash-es/groupBy.js +0 -41
- package/node_modules/lodash-es/gt.js +0 -29
- package/node_modules/lodash-es/gte.js +0 -30
- package/node_modules/lodash-es/has.js +0 -35
- package/node_modules/lodash-es/hasIn.js +0 -34
- package/node_modules/lodash-es/head.js +0 -23
- package/node_modules/lodash-es/identity.js +0 -21
- package/node_modules/lodash-es/inRange.js +0 -55
- package/node_modules/lodash-es/includes.js +0 -53
- package/node_modules/lodash-es/indexOf.js +0 -42
- package/node_modules/lodash-es/initial.js +0 -22
- package/node_modules/lodash-es/intersection.js +0 -30
- package/node_modules/lodash-es/intersectionBy.js +0 -45
- package/node_modules/lodash-es/intersectionWith.js +0 -41
- package/node_modules/lodash-es/invert.js +0 -42
- package/node_modules/lodash-es/invertBy.js +0 -56
- package/node_modules/lodash-es/invoke.js +0 -24
- package/node_modules/lodash-es/invokeMap.js +0 -41
- package/node_modules/lodash-es/isArguments.js +0 -36
- package/node_modules/lodash-es/isArray.js +0 -26
- package/node_modules/lodash-es/isArrayBuffer.js +0 -27
- package/node_modules/lodash-es/isArrayLike.js +0 -33
- package/node_modules/lodash-es/isArrayLikeObject.js +0 -33
- package/node_modules/lodash-es/isBoolean.js +0 -29
- package/node_modules/lodash-es/isBuffer.js +0 -38
- package/node_modules/lodash-es/isDate.js +0 -27
- package/node_modules/lodash-es/isElement.js +0 -25
- package/node_modules/lodash-es/isEmpty.js +0 -77
- package/node_modules/lodash-es/isEqual.js +0 -35
- package/node_modules/lodash-es/isEqualWith.js +0 -41
- package/node_modules/lodash-es/isError.js +0 -36
- package/node_modules/lodash-es/isFinite.js +0 -36
- package/node_modules/lodash-es/isFunction.js +0 -37
- package/node_modules/lodash-es/isInteger.js +0 -33
- package/node_modules/lodash-es/isLength.js +0 -35
- package/node_modules/lodash-es/isMap.js +0 -27
- package/node_modules/lodash-es/isMatch.js +0 -36
- package/node_modules/lodash-es/isMatchWith.js +0 -41
- package/node_modules/lodash-es/isNaN.js +0 -38
- package/node_modules/lodash-es/isNative.js +0 -40
- package/node_modules/lodash-es/isNil.js +0 -25
- package/node_modules/lodash-es/isNull.js +0 -22
- package/node_modules/lodash-es/isNumber.js +0 -38
- package/node_modules/lodash-es/isObject.js +0 -31
- package/node_modules/lodash-es/isObjectLike.js +0 -29
- package/node_modules/lodash-es/isPlainObject.js +0 -62
- package/node_modules/lodash-es/isRegExp.js +0 -27
- package/node_modules/lodash-es/isSafeInteger.js +0 -37
- package/node_modules/lodash-es/isSet.js +0 -27
- package/node_modules/lodash-es/isString.js +0 -30
- package/node_modules/lodash-es/isSymbol.js +0 -29
- package/node_modules/lodash-es/isTypedArray.js +0 -27
- package/node_modules/lodash-es/isUndefined.js +0 -22
- package/node_modules/lodash-es/isWeakMap.js +0 -28
- package/node_modules/lodash-es/isWeakSet.js +0 -28
- package/node_modules/lodash-es/iteratee.js +0 -53
- package/node_modules/lodash-es/join.js +0 -26
- package/node_modules/lodash-es/kebabCase.js +0 -28
- package/node_modules/lodash-es/keyBy.js +0 -36
- package/node_modules/lodash-es/keys.js +0 -37
- package/node_modules/lodash-es/keysIn.js +0 -32
- package/node_modules/lodash-es/lang.default.js +0 -71
- package/node_modules/lodash-es/lang.js +0 -57
- package/node_modules/lodash-es/last.js +0 -20
- package/node_modules/lodash-es/lastIndexOf.js +0 -46
- package/node_modules/lodash-es/lodash.default.js +0 -643
- package/node_modules/lodash-es/lodash.js +0 -331
- package/node_modules/lodash-es/lowerCase.js +0 -27
- package/node_modules/lodash-es/lowerFirst.js +0 -22
- package/node_modules/lodash-es/lt.js +0 -29
- package/node_modules/lodash-es/lte.js +0 -30
- package/node_modules/lodash-es/map.js +0 -53
- package/node_modules/lodash-es/mapKeys.js +0 -36
- package/node_modules/lodash-es/mapValues.js +0 -43
- package/node_modules/lodash-es/matches.js +0 -46
- package/node_modules/lodash-es/matchesProperty.js +0 -44
- package/node_modules/lodash-es/math.default.js +0 -21
- package/node_modules/lodash-es/math.js +0 -16
- package/node_modules/lodash-es/max.js +0 -29
- package/node_modules/lodash-es/maxBy.js +0 -34
- package/node_modules/lodash-es/mean.js +0 -22
- package/node_modules/lodash-es/meanBy.js +0 -31
- package/node_modules/lodash-es/memoize.js +0 -73
- package/node_modules/lodash-es/merge.js +0 -39
- package/node_modules/lodash-es/mergeWith.js +0 -39
- package/node_modules/lodash-es/method.js +0 -34
- package/node_modules/lodash-es/methodOf.js +0 -33
- package/node_modules/lodash-es/min.js +0 -29
- package/node_modules/lodash-es/minBy.js +0 -34
- package/node_modules/lodash-es/mixin.js +0 -74
- package/node_modules/lodash-es/multiply.js +0 -22
- package/node_modules/lodash-es/negate.js +0 -40
- package/node_modules/lodash-es/next.js +0 -35
- package/node_modules/lodash-es/noop.js +0 -17
- package/node_modules/lodash-es/now.js +0 -23
- package/node_modules/lodash-es/nth.js +0 -29
- package/node_modules/lodash-es/nthArg.js +0 -32
- package/node_modules/lodash-es/number.default.js +0 -7
- package/node_modules/lodash-es/number.js +0 -4
- package/node_modules/lodash-es/object.default.js +0 -60
- package/node_modules/lodash-es/object.js +0 -48
- package/node_modules/lodash-es/omit.js +0 -57
- package/node_modules/lodash-es/omitBy.js +0 -29
- package/node_modules/lodash-es/once.js +0 -25
- package/node_modules/lodash-es/orderBy.js +0 -47
- package/node_modules/lodash-es/over.js +0 -24
- package/node_modules/lodash-es/overArgs.js +0 -61
- package/node_modules/lodash-es/overEvery.js +0 -34
- package/node_modules/lodash-es/overSome.js +0 -37
- package/node_modules/lodash-es/package.json +0 -21
- package/node_modules/lodash-es/pad.js +0 -49
- package/node_modules/lodash-es/padEnd.js +0 -39
- package/node_modules/lodash-es/padStart.js +0 -39
- package/node_modules/lodash-es/parseInt.js +0 -43
- package/node_modules/lodash-es/partial.js +0 -50
- package/node_modules/lodash-es/partialRight.js +0 -49
- package/node_modules/lodash-es/partition.js +0 -43
- package/node_modules/lodash-es/pick.js +0 -25
- package/node_modules/lodash-es/pickBy.js +0 -37
- package/node_modules/lodash-es/plant.js +0 -48
- package/node_modules/lodash-es/property.js +0 -32
- package/node_modules/lodash-es/propertyOf.js +0 -30
- package/node_modules/lodash-es/pull.js +0 -29
- package/node_modules/lodash-es/pullAll.js +0 -29
- package/node_modules/lodash-es/pullAllBy.js +0 -33
- package/node_modules/lodash-es/pullAllWith.js +0 -32
- package/node_modules/lodash-es/pullAt.js +0 -43
- package/node_modules/lodash-es/random.js +0 -82
- package/node_modules/lodash-es/range.js +0 -46
- package/node_modules/lodash-es/rangeRight.js +0 -41
- package/node_modules/lodash-es/rearg.js +0 -33
- package/node_modules/lodash-es/reduce.js +0 -51
- package/node_modules/lodash-es/reduceRight.js +0 -36
- package/node_modules/lodash-es/reject.js +0 -46
- package/node_modules/lodash-es/release.md +0 -48
- package/node_modules/lodash-es/remove.js +0 -53
- package/node_modules/lodash-es/repeat.js +0 -37
- package/node_modules/lodash-es/replace.js +0 -29
- package/node_modules/lodash-es/rest.js +0 -40
- package/node_modules/lodash-es/result.js +0 -56
- package/node_modules/lodash-es/reverse.js +0 -34
- package/node_modules/lodash-es/round.js +0 -26
- package/node_modules/lodash-es/sample.js +0 -24
- package/node_modules/lodash-es/sampleSize.js +0 -37
- package/node_modules/lodash-es/seq.default.js +0 -20
- package/node_modules/lodash-es/seq.js +0 -15
- package/node_modules/lodash-es/set.js +0 -35
- package/node_modules/lodash-es/setWith.js +0 -32
- package/node_modules/lodash-es/shuffle.js +0 -25
- package/node_modules/lodash-es/size.js +0 -46
- package/node_modules/lodash-es/slice.js +0 -37
- package/node_modules/lodash-es/snakeCase.js +0 -28
- package/node_modules/lodash-es/some.js +0 -51
- package/node_modules/lodash-es/sortBy.js +0 -48
- package/node_modules/lodash-es/sortedIndex.js +0 -24
- package/node_modules/lodash-es/sortedIndexBy.js +0 -33
- package/node_modules/lodash-es/sortedIndexOf.js +0 -31
- package/node_modules/lodash-es/sortedLastIndex.js +0 -25
- package/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
- package/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
- package/node_modules/lodash-es/sortedUniq.js +0 -24
- package/node_modules/lodash-es/sortedUniqBy.js +0 -26
- package/node_modules/lodash-es/split.js +0 -52
- package/node_modules/lodash-es/spread.js +0 -63
- package/node_modules/lodash-es/startCase.js +0 -29
- package/node_modules/lodash-es/startsWith.js +0 -39
- package/node_modules/lodash-es/string.default.js +0 -41
- package/node_modules/lodash-es/string.js +0 -32
- package/node_modules/lodash-es/stubArray.js +0 -23
- package/node_modules/lodash-es/stubFalse.js +0 -18
- package/node_modules/lodash-es/stubObject.js +0 -23
- package/node_modules/lodash-es/stubString.js +0 -18
- package/node_modules/lodash-es/stubTrue.js +0 -18
- package/node_modules/lodash-es/subtract.js +0 -22
- package/node_modules/lodash-es/sum.js +0 -24
- package/node_modules/lodash-es/sumBy.js +0 -33
- package/node_modules/lodash-es/tail.js +0 -22
- package/node_modules/lodash-es/take.js +0 -37
- package/node_modules/lodash-es/takeRight.js +0 -39
- package/node_modules/lodash-es/takeRightWhile.js +0 -45
- package/node_modules/lodash-es/takeWhile.js +0 -45
- package/node_modules/lodash-es/tap.js +0 -29
- package/node_modules/lodash-es/template.js +0 -272
- package/node_modules/lodash-es/templateSettings.js +0 -67
- package/node_modules/lodash-es/throttle.js +0 -69
- package/node_modules/lodash-es/thru.js +0 -28
- package/node_modules/lodash-es/times.js +0 -51
- package/node_modules/lodash-es/toArray.js +0 -58
- package/node_modules/lodash-es/toFinite.js +0 -42
- package/node_modules/lodash-es/toInteger.js +0 -36
- package/node_modules/lodash-es/toIterator.js +0 -23
- package/node_modules/lodash-es/toJSON.js +0 -1
- package/node_modules/lodash-es/toLength.js +0 -38
- package/node_modules/lodash-es/toLower.js +0 -28
- package/node_modules/lodash-es/toNumber.js +0 -64
- package/node_modules/lodash-es/toPairs.js +0 -30
- package/node_modules/lodash-es/toPairsIn.js +0 -30
- package/node_modules/lodash-es/toPath.js +0 -33
- package/node_modules/lodash-es/toPlainObject.js +0 -32
- package/node_modules/lodash-es/toSafeInteger.js +0 -37
- package/node_modules/lodash-es/toString.js +0 -28
- package/node_modules/lodash-es/toUpper.js +0 -28
- package/node_modules/lodash-es/transform.js +0 -65
- package/node_modules/lodash-es/trim.js +0 -47
- package/node_modules/lodash-es/trimEnd.js +0 -41
- package/node_modules/lodash-es/trimStart.js +0 -43
- package/node_modules/lodash-es/truncate.js +0 -111
- package/node_modules/lodash-es/unary.js +0 -22
- package/node_modules/lodash-es/unescape.js +0 -34
- package/node_modules/lodash-es/union.js +0 -26
- package/node_modules/lodash-es/unionBy.js +0 -39
- package/node_modules/lodash-es/unionWith.js +0 -34
- package/node_modules/lodash-es/uniq.js +0 -25
- package/node_modules/lodash-es/uniqBy.js +0 -31
- package/node_modules/lodash-es/uniqWith.js +0 -28
- package/node_modules/lodash-es/uniqueId.js +0 -28
- package/node_modules/lodash-es/unset.js +0 -34
- package/node_modules/lodash-es/unzip.js +0 -45
- package/node_modules/lodash-es/unzipWith.js +0 -39
- package/node_modules/lodash-es/update.js +0 -35
- package/node_modules/lodash-es/updateWith.js +0 -33
- package/node_modules/lodash-es/upperCase.js +0 -27
- package/node_modules/lodash-es/upperFirst.js +0 -22
- package/node_modules/lodash-es/util.default.js +0 -42
- package/node_modules/lodash-es/util.js +0 -33
- package/node_modules/lodash-es/value.js +0 -1
- package/node_modules/lodash-es/valueOf.js +0 -1
- package/node_modules/lodash-es/values.js +0 -34
- package/node_modules/lodash-es/valuesIn.js +0 -32
- package/node_modules/lodash-es/without.js +0 -31
- package/node_modules/lodash-es/words.js +0 -35
- package/node_modules/lodash-es/wrap.js +0 -30
- package/node_modules/lodash-es/wrapperAt.js +0 -48
- package/node_modules/lodash-es/wrapperChain.js +0 -34
- package/node_modules/lodash-es/wrapperLodash.js +0 -147
- package/node_modules/lodash-es/wrapperReverse.js +0 -44
- package/node_modules/lodash-es/wrapperValue.js +0 -21
- package/node_modules/lodash-es/xor.js +0 -28
- package/node_modules/lodash-es/xorBy.js +0 -39
- package/node_modules/lodash-es/xorWith.js +0 -34
- package/node_modules/lodash-es/zip.js +0 -22
- package/node_modules/lodash-es/zipObject.js +0 -24
- package/node_modules/lodash-es/zipObjectDeep.js +0 -23
- package/node_modules/lodash-es/zipWith.js +0 -32
- package/node_modules/resize-observer-polyfill/LICENSE +0 -21
- package/node_modules/resize-observer-polyfill/README.md +0 -112
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -928
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.global.js +0 -1034
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.js +0 -936
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.js.flow +0 -32
- package/node_modules/resize-observer-polyfill/package.json +0 -64
- package/node_modules/resize-observer-polyfill/src/ResizeObservation.js +0 -76
- package/node_modules/resize-observer-polyfill/src/ResizeObserver.js +0 -47
- package/node_modules/resize-observer-polyfill/src/ResizeObserverController.js +0 -238
- package/node_modules/resize-observer-polyfill/src/ResizeObserverEntry.js +0 -40
- package/node_modules/resize-observer-polyfill/src/ResizeObserverSPI.js +0 -203
- package/node_modules/resize-observer-polyfill/src/index.d.ts +0 -40
- package/node_modules/resize-observer-polyfill/src/index.js +0 -11
- package/node_modules/resize-observer-polyfill/src/index.js.flow +0 -32
- package/node_modules/resize-observer-polyfill/src/shims/es6-collections.js +0 -115
- package/node_modules/resize-observer-polyfill/src/shims/global.js +0 -17
- package/node_modules/resize-observer-polyfill/src/shims/requestAnimationFrame.js +0 -18
- package/node_modules/resize-observer-polyfill/src/utils/defineConfigurable.js +0 -19
- package/node_modules/resize-observer-polyfill/src/utils/geometry.js +0 -233
- package/node_modules/resize-observer-polyfill/src/utils/getWindowOf.js +0 -18
- package/node_modules/resize-observer-polyfill/src/utils/isBrowser.js +0 -4
- package/node_modules/resize-observer-polyfill/src/utils/throttle.js +0 -78
- package/node_modules/uuid/CHANGELOG.md +0 -335
- package/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/uuid/README.md +0 -497
- package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs/index.js +0 -31
- package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/max.js +0 -3
- package/node_modules/uuid/dist/cjs/md5.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/node_modules/uuid/dist/cjs/native.d.ts +0 -5
- package/node_modules/uuid/dist/cjs/native.js +0 -4
- package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/node_modules/uuid/dist/cjs/package.json +0 -1
- package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs/stringify.js +0 -38
- package/node_modules/uuid/dist/cjs/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/parse.test.js +0 -50
- package/node_modules/uuid/dist/cjs/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/rng.test.js +0 -14
- package/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/stringify.test.js +0 -23
- package/node_modules/uuid/dist/cjs/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/cjs/test/test_constants.js +0 -91
- package/node_modules/uuid/dist/cjs/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v1.test.js +0 -127
- package/node_modules/uuid/dist/cjs/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v35.test.js +0 -143
- package/node_modules/uuid/dist/cjs/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v4.test.js +0 -60
- package/node_modules/uuid/dist/cjs/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v6.test.js +0 -56
- package/node_modules/uuid/dist/cjs/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v7.test.js +0 -194
- package/node_modules/uuid/dist/cjs/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/validate.test.js +0 -13
- package/node_modules/uuid/dist/cjs/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/version.test.js +0 -20
- package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs/types.js +0 -2
- package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs/v1.js +0 -78
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs/v35.js +0 -41
- package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v4.js +0 -23
- package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v6.js +0 -19
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v7.js +0 -60
- package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/version.js +0 -10
- package/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -38
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.js +0 -50
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +0 -23
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.js +0 -91
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.js +0 -127
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.js +0 -143
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.js +0 -60
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.js +0 -56
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.js +0 -194
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/version.test.js +0 -20
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs-browser/v1.js +0 -78
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v4.js +0 -23
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v7.js +0 -60
- package/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/node_modules/uuid/dist/esm/bin/uuid +0 -2
- package/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm/index.js +0 -14
- package/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm/max.js +0 -1
- package/node_modules/uuid/dist/esm/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm/md5.js +0 -11
- package/node_modules/uuid/dist/esm/native.d.ts +0 -5
- package/node_modules/uuid/dist/esm/native.js +0 -2
- package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm/nil.js +0 -1
- package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm/parse.js +0 -9
- package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm/regex.js +0 -1
- package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm/rng.js +0 -10
- package/node_modules/uuid/dist/esm/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/sha1.js +0 -11
- package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm/stringify.js +0 -35
- package/node_modules/uuid/dist/esm/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/parse.test.js +0 -48
- package/node_modules/uuid/dist/esm/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/rng.test.js +0 -12
- package/node_modules/uuid/dist/esm/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/stringify.test.js +0 -21
- package/node_modules/uuid/dist/esm/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/esm/test/test_constants.js +0 -88
- package/node_modules/uuid/dist/esm/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v1.test.js +0 -125
- package/node_modules/uuid/dist/esm/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v35.test.js +0 -141
- package/node_modules/uuid/dist/esm/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v4.test.js +0 -58
- package/node_modules/uuid/dist/esm/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v6.test.js +0 -54
- package/node_modules/uuid/dist/esm/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v7.test.js +0 -192
- package/node_modules/uuid/dist/esm/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/validate.test.js +0 -11
- package/node_modules/uuid/dist/esm/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/version.test.js +0 -18
- package/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm/types.js +0 -1
- package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm/v1.js +0 -75
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v3.js +0 -9
- package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm/v35.js +0 -36
- package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v4.js +0 -21
- package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v5.js +0 -9
- package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v6.js +0 -17
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v7.js +0 -57
- package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm/validate.js +0 -5
- package/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm/version.js +0 -8
- package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm-browser/index.js +0 -14
- package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/max.js +0 -1
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/md5.js +0 -135
- package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/parse.js +0 -9
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.js +0 -11
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
- package/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/parse.test.js +0 -48
- package/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/rng.test.js +0 -12
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.js +0 -21
- package/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/esm-browser/test/test_constants.js +0 -88
- package/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v1.test.js +0 -125
- package/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v35.test.js +0 -141
- package/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v4.test.js +0 -58
- package/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v6.test.js +0 -54
- package/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v7.test.js +0 -192
- package/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/validate.test.js +0 -11
- package/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/version.test.js +0 -18
- package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm-browser/types.js +0 -1
- package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm-browser/v1.js +0 -75
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v3.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm-browser/v35.js +0 -36
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v4.js +0 -21
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v5.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v6.js +0 -17
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v7.js +0 -57
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/validate.js +0 -5
- package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/version.js +0 -8
- package/node_modules/uuid/package.json +0 -134
- package/node_modules/worker-timers/LICENSE +0 -21
- package/node_modules/worker-timers/README.md +0 -71
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +0 -2
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +0 -15
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +0 -1
- package/node_modules/worker-timers/build/es2019/module.d.ts +0 -6
- package/node_modules/worker-timers/build/es2019/module.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/module.js +0 -9
- package/node_modules/worker-timers/build/es2019/module.js.map +0 -1
- package/node_modules/worker-timers/build/es2019/worker/worker.d.ts +0 -2
- package/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/worker/worker.js +0 -3
- package/node_modules/worker-timers/build/es2019/worker/worker.js.map +0 -1
- package/node_modules/worker-timers/build/es5/bundle.js +0 -50
- package/node_modules/worker-timers/package.json +0 -106
- package/node_modules/worker-timers/src/factories/load-or-return-broker.ts +0 -19
- package/node_modules/worker-timers/src/module.ts +0 -13
- package/node_modules/worker-timers/src/tsconfig.json +0 -6
- package/node_modules/worker-timers/src/worker/worker.ts +0 -2
|
@@ -1,470 +0,0 @@
|
|
|
1
|
-
<wiki:toc/>
|
|
2
|
-
|
|
3
|
-
----
|
|
4
|
-
|
|
5
|
-
= Quick-start Guide =
|
|
6
|
-
|
|
7
|
-
== Hashers ==
|
|
8
|
-
|
|
9
|
-
=== The Hasher Algorithms ===
|
|
10
|
-
|
|
11
|
-
==== MD5 ====
|
|
12
|
-
|
|
13
|
-
MD5 is a widely used hash function. It's been used in a variety of security applications and is also commonly used to check the integrity of files. Though, MD5 is not collision resistant, and it isn't suitable for applications like SSL certificates or digital signatures that rely on this property.
|
|
14
|
-
|
|
15
|
-
{{{
|
|
16
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/md5.js"></script>
|
|
17
|
-
<script>
|
|
18
|
-
var hash = CryptoJS.MD5("Message");
|
|
19
|
-
</script>
|
|
20
|
-
}}}
|
|
21
|
-
|
|
22
|
-
==== SHA-1 ====
|
|
23
|
-
|
|
24
|
-
The SHA hash functions were designed by the National Security Agency (NSA). SHA-1 is the most established of the existing SHA hash functions, and it's used in a variety of security applications and protocols. Though, SHA-1's collision resistance has been weakening as new attacks are discovered or improved.
|
|
25
|
-
|
|
26
|
-
{{{
|
|
27
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha1.js"></script>
|
|
28
|
-
<script>
|
|
29
|
-
var hash = CryptoJS.SHA1("Message");
|
|
30
|
-
</script>
|
|
31
|
-
}}}
|
|
32
|
-
|
|
33
|
-
==== SHA-2 ====
|
|
34
|
-
|
|
35
|
-
SHA-256 is one of the four variants in the SHA-2 set. It isn't as widely used as SHA-1, though it appears to provide much better security.
|
|
36
|
-
|
|
37
|
-
{{{
|
|
38
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha256.js"></script>
|
|
39
|
-
<script>
|
|
40
|
-
var hash = CryptoJS.SHA256("Message");
|
|
41
|
-
</script>
|
|
42
|
-
}}}
|
|
43
|
-
|
|
44
|
-
SHA-512 is largely identical to SHA-256 but operates on 64-bit words rather than 32.
|
|
45
|
-
|
|
46
|
-
{{{
|
|
47
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha512.js"></script>
|
|
48
|
-
<script>
|
|
49
|
-
var hash = CryptoJS.SHA512("Message");
|
|
50
|
-
</script>
|
|
51
|
-
}}}
|
|
52
|
-
|
|
53
|
-
CryptoJS also supports SHA-224 and SHA-384, which are largely identical but truncated versions of SHA-256 and SHA-512 respectively.
|
|
54
|
-
|
|
55
|
-
==== SHA-3 ====
|
|
56
|
-
|
|
57
|
-
SHA-3 is the winner of a five-year competition to select a new cryptographic hash algorithm where 64 competing designs were evaluated.
|
|
58
|
-
|
|
59
|
-
{{{
|
|
60
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha3.js"></script>
|
|
61
|
-
<script>
|
|
62
|
-
var hash = CryptoJS.SHA3("Message");
|
|
63
|
-
</script>
|
|
64
|
-
}}}
|
|
65
|
-
|
|
66
|
-
SHA-3 can be configured to output hash lengths of one of 224, 256, 384, or 512 bits. The default is 512 bits.
|
|
67
|
-
|
|
68
|
-
{{{
|
|
69
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha3.js"></script>
|
|
70
|
-
<script>
|
|
71
|
-
var hash = CryptoJS.SHA3("Message", { outputLength: 512 });
|
|
72
|
-
var hash = CryptoJS.SHA3("Message", { outputLength: 384 });
|
|
73
|
-
var hash = CryptoJS.SHA3("Message", { outputLength: 256 });
|
|
74
|
-
var hash = CryptoJS.SHA3("Message", { outputLength: 224 });
|
|
75
|
-
</script>
|
|
76
|
-
}}}
|
|
77
|
-
|
|
78
|
-
==== RIPEMD-160 ====
|
|
79
|
-
|
|
80
|
-
{{{
|
|
81
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/ripemd160.js"></script>
|
|
82
|
-
<script>
|
|
83
|
-
var hash = CryptoJS.RIPEMD160("Message");
|
|
84
|
-
</script>
|
|
85
|
-
}}}
|
|
86
|
-
|
|
87
|
-
=== The Hasher Input ===
|
|
88
|
-
|
|
89
|
-
The hash algorithms accept either strings or instances of CryptoJS.lib.WordArray. A WordArray object represents an array of 32-bit words. When you pass a string, it's automatically converted to a WordArray encoded as UTF-8.
|
|
90
|
-
|
|
91
|
-
=== The Hasher Output ===
|
|
92
|
-
|
|
93
|
-
The hash you get back isn't a string yet. It's a WordArray object. When you use a WordArray object in a string context, it's automatically converted to a hex string.
|
|
94
|
-
|
|
95
|
-
{{{
|
|
96
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha256.js"></script>
|
|
97
|
-
<script>
|
|
98
|
-
var hash = CryptoJS.SHA256("Message");
|
|
99
|
-
|
|
100
|
-
alert(typeof hash); // object
|
|
101
|
-
|
|
102
|
-
alert(hash); // 2f77668a9dfbf8d5848b9eeb4a7145ca94c6ed9236e4a773f6dcafa5132b2f91
|
|
103
|
-
</script>
|
|
104
|
-
}}}
|
|
105
|
-
|
|
106
|
-
You can convert a WordArray object to other formats by explicitly calling the toString method and passing an encoder.
|
|
107
|
-
|
|
108
|
-
{{{
|
|
109
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha256.js"></script>
|
|
110
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/enc-base64-min.js"></script>
|
|
111
|
-
<script>
|
|
112
|
-
var hash = CryptoJS.SHA256("Message");
|
|
113
|
-
|
|
114
|
-
alert(hash.toString(CryptoJS.enc.Base64)); // L3dmip37+NWEi57rSnFFypTG7ZI25Kdz9tyvpRMrL5E=
|
|
115
|
-
|
|
116
|
-
alert(hash.toString(CryptoJS.enc.Latin1)); // /wf��ûøÕ���ëJqEÊ�Æí�6ä§söܯ¥+/�
|
|
117
|
-
|
|
118
|
-
alert(hash.toString(CryptoJS.enc.Hex)); // 2f77668a9dfbf8d5848b9eeb4a7145ca94c6ed9236e4a773f6dcafa5132b2f91
|
|
119
|
-
</script>
|
|
120
|
-
}}}
|
|
121
|
-
|
|
122
|
-
=== Progressive Hashing ===
|
|
123
|
-
|
|
124
|
-
{{{
|
|
125
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/sha256.js"></script>
|
|
126
|
-
<script>
|
|
127
|
-
var sha256 = CryptoJS.algo.SHA256.create();
|
|
128
|
-
|
|
129
|
-
sha256.update("Message Part 1");
|
|
130
|
-
sha256.update("Message Part 2");
|
|
131
|
-
sha256.update("Message Part 3");
|
|
132
|
-
|
|
133
|
-
var hash = sha256.finalize();
|
|
134
|
-
</script>
|
|
135
|
-
}}}
|
|
136
|
-
|
|
137
|
-
== HMAC ==
|
|
138
|
-
|
|
139
|
-
Keyed-hash message authentication codes (HMAC) is a mechanism for message authentication using cryptographic hash functions.
|
|
140
|
-
|
|
141
|
-
HMAC can be used in combination with any iterated cryptographic hash function.
|
|
142
|
-
|
|
143
|
-
{{{
|
|
144
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/hmac-md5.js"></script>
|
|
145
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/hmac-sha1.js"></script>
|
|
146
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/hmac-sha256.js"></script>
|
|
147
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/hmac-sha512.js"></script>
|
|
148
|
-
<script>
|
|
149
|
-
var hash = CryptoJS.HmacMD5("Message", "Secret Passphrase");
|
|
150
|
-
var hash = CryptoJS.HmacSHA1("Message", "Secret Passphrase");
|
|
151
|
-
var hash = CryptoJS.HmacSHA256("Message", "Secret Passphrase");
|
|
152
|
-
var hash = CryptoJS.HmacSHA512("Message", "Secret Passphrase");
|
|
153
|
-
</script>
|
|
154
|
-
}}}
|
|
155
|
-
|
|
156
|
-
=== Progressive HMAC Hashing ===
|
|
157
|
-
|
|
158
|
-
{{{
|
|
159
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/hmac-sha256.js"></script>
|
|
160
|
-
<script>
|
|
161
|
-
var hmac = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, "Secret Passphrase");
|
|
162
|
-
|
|
163
|
-
hmac.update("Message Part 1");
|
|
164
|
-
hmac.update("Message Part 2");
|
|
165
|
-
hmac.update("Message Part 3");
|
|
166
|
-
|
|
167
|
-
var hash = hmac.finalize();
|
|
168
|
-
</script>
|
|
169
|
-
}}}
|
|
170
|
-
|
|
171
|
-
== PBKDF2 ==
|
|
172
|
-
|
|
173
|
-
PBKDF2 is a password-based key derivation function. In many applications of cryptography, user security is ultimately dependent on a password, and because a password usually can't be used directly as a cryptographic key, some processing is required.
|
|
174
|
-
|
|
175
|
-
A salt provides a large set of keys for any given password, and an iteration count increases the cost of producing keys from a password, thereby also increasing the difficulty of attack.
|
|
176
|
-
|
|
177
|
-
{{{
|
|
178
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/pbkdf2.js"></script>
|
|
179
|
-
<script>
|
|
180
|
-
var salt = CryptoJS.lib.WordArray.random(128/8);
|
|
181
|
-
|
|
182
|
-
var key128Bits = CryptoJS.PBKDF2("Secret Passphrase", salt, { keySize: 128/32 });
|
|
183
|
-
var key256Bits = CryptoJS.PBKDF2("Secret Passphrase", salt, { keySize: 256/32 });
|
|
184
|
-
var key512Bits = CryptoJS.PBKDF2("Secret Passphrase", salt, { keySize: 512/32 });
|
|
185
|
-
|
|
186
|
-
var key512Bits1000Iterations = CryptoJS.PBKDF2("Secret Passphrase", salt, { keySize: 512/32, iterations: 1000 });
|
|
187
|
-
</script>
|
|
188
|
-
}}}
|
|
189
|
-
|
|
190
|
-
== Ciphers ==
|
|
191
|
-
|
|
192
|
-
=== The Cipher Algorithms ===
|
|
193
|
-
|
|
194
|
-
==== AES ====
|
|
195
|
-
|
|
196
|
-
The Advanced Encryption Standard (AES) is a U.S. Federal Information Processing Standard (FIPS). It was selected after a 5-year process where 15 competing designs were evaluated.
|
|
197
|
-
|
|
198
|
-
{{{
|
|
199
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
200
|
-
<script>
|
|
201
|
-
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase");
|
|
202
|
-
|
|
203
|
-
var decrypted = CryptoJS.AES.decrypt(encrypted, "Secret Passphrase");
|
|
204
|
-
</script>
|
|
205
|
-
}}}
|
|
206
|
-
|
|
207
|
-
CryptoJS supports AES-128, AES-192, and AES-256. It will pick the variant by the size of the key you pass in. If you use a passphrase, then it will generate a 256-bit key.
|
|
208
|
-
|
|
209
|
-
==== DES, Triple DES ====
|
|
210
|
-
|
|
211
|
-
DES is a previously dominant algorithm for encryption, and was published as an official Federal Information Processing Standard (FIPS). DES is now considered to be insecure due to the small key size.
|
|
212
|
-
|
|
213
|
-
{{{
|
|
214
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/tripledes.js"></script>
|
|
215
|
-
<script>
|
|
216
|
-
var encrypted = CryptoJS.DES.encrypt("Message", "Secret Passphrase");
|
|
217
|
-
|
|
218
|
-
var decrypted = CryptoJS.DES.decrypt(encrypted, "Secret Passphrase");
|
|
219
|
-
</script>
|
|
220
|
-
}}}
|
|
221
|
-
|
|
222
|
-
Triple DES applies DES three times to each block to increase the key size. The algorithm is believed to be secure in this form.
|
|
223
|
-
|
|
224
|
-
{{{
|
|
225
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/tripledes.js"></script>
|
|
226
|
-
<script>
|
|
227
|
-
var encrypted = CryptoJS.TripleDES.encrypt("Message", "Secret Passphrase");
|
|
228
|
-
|
|
229
|
-
var decrypted = CryptoJS.TripleDES.decrypt(encrypted, "Secret Passphrase");
|
|
230
|
-
</script>
|
|
231
|
-
}}}
|
|
232
|
-
|
|
233
|
-
==== Rabbit ====
|
|
234
|
-
|
|
235
|
-
Rabbit is a high-performance stream cipher and a finalist in the eSTREAM Portfolio. It is one of the four designs selected after a 3 1/2-year process where 22 designs were evaluated.
|
|
236
|
-
|
|
237
|
-
{{{
|
|
238
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/rabbit.js"></script>
|
|
239
|
-
<script>
|
|
240
|
-
var encrypted = CryptoJS.Rabbit.encrypt("Message", "Secret Passphrase");
|
|
241
|
-
|
|
242
|
-
var decrypted = CryptoJS.Rabbit.decrypt(encrypted, "Secret Passphrase");
|
|
243
|
-
</script>
|
|
244
|
-
}}}
|
|
245
|
-
|
|
246
|
-
==== RC4, RC4Drop ====
|
|
247
|
-
|
|
248
|
-
RC4 is a widely-used stream cipher. It's used in popular protocols such as SSL and WEP. Although remarkable for its simplicity and speed, the algorithm's history doesn't inspire confidence in its security.
|
|
249
|
-
|
|
250
|
-
{{{
|
|
251
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/rc4.js"></script>
|
|
252
|
-
<script>
|
|
253
|
-
var encrypted = CryptoJS.RC4.encrypt("Message", "Secret Passphrase");
|
|
254
|
-
|
|
255
|
-
var decrypted = CryptoJS.RC4.decrypt(encrypted, "Secret Passphrase");
|
|
256
|
-
</script>
|
|
257
|
-
}}}
|
|
258
|
-
|
|
259
|
-
It was discovered that the first few bytes of keystream are strongly non-random and leak information about the key. We can defend against this attack by discarding the initial portion of the keystream. This modified algorithm is traditionally called RC4-drop.
|
|
260
|
-
|
|
261
|
-
By default, 192 words (768 bytes) are dropped, but you can configure the algorithm to drop any number of words.
|
|
262
|
-
|
|
263
|
-
{{{
|
|
264
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/rc4.js"></script>
|
|
265
|
-
<script>
|
|
266
|
-
var encrypted = CryptoJS.RC4Drop.encrypt("Message", "Secret Passphrase");
|
|
267
|
-
|
|
268
|
-
var encrypted = CryptoJS.RC4Drop.encrypt("Message", "Secret Passphrase", { drop: 3072/4 });
|
|
269
|
-
|
|
270
|
-
var decrypted = CryptoJS.RC4Drop.decrypt(encrypted, "Secret Passphrase", { drop: 3072/4 });
|
|
271
|
-
</script>
|
|
272
|
-
}}}
|
|
273
|
-
|
|
274
|
-
=== Custom Key and IV ===
|
|
275
|
-
|
|
276
|
-
{{{
|
|
277
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
278
|
-
<script>
|
|
279
|
-
var key = CryptoJS.enc.Hex.parse('000102030405060708090a0b0c0d0e0f');
|
|
280
|
-
var iv = CryptoJS.enc.Hex.parse('101112131415161718191a1b1c1d1e1f');
|
|
281
|
-
|
|
282
|
-
var encrypted = CryptoJS.AES.encrypt("Message", key, { iv: iv });
|
|
283
|
-
</script>
|
|
284
|
-
}}}
|
|
285
|
-
|
|
286
|
-
=== Block Modes and Padding ===
|
|
287
|
-
|
|
288
|
-
{{{
|
|
289
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
290
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/mode-cfb-min.js"></script>
|
|
291
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/pad-ansix923-min.js"></script>
|
|
292
|
-
<script>
|
|
293
|
-
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase", { mode: CryptoJS.mode.CFB, padding: CryptoJS.pad.AnsiX923 });
|
|
294
|
-
</script>
|
|
295
|
-
}}}
|
|
296
|
-
|
|
297
|
-
CryptoJS supports the following modes:
|
|
298
|
-
|
|
299
|
-
* CBC (the default)
|
|
300
|
-
* CFB
|
|
301
|
-
* CTR
|
|
302
|
-
* OFB
|
|
303
|
-
* ECB
|
|
304
|
-
|
|
305
|
-
And CryptoJS supports the following padding schemes:
|
|
306
|
-
|
|
307
|
-
* Pkcs7 (the default)
|
|
308
|
-
* Iso97971
|
|
309
|
-
* AnsiX923
|
|
310
|
-
* Iso10126
|
|
311
|
-
* ZeroPadding
|
|
312
|
-
* NoPadding
|
|
313
|
-
|
|
314
|
-
=== The Cipher Input ===
|
|
315
|
-
|
|
316
|
-
For the plaintext message, the cipher algorithms accept either strings or instances of CryptoJS.lib.WordArray.
|
|
317
|
-
|
|
318
|
-
For the key, when you pass a string, it's treated as a passphrase and used to derive an actual key and IV. Or you can pass a WordArray that represents the actual key. If you pass the actual key, you must also pass the actual IV.
|
|
319
|
-
|
|
320
|
-
For the ciphertext, the cipher algorithms accept either strings or instances of CryptoJS.lib.CipherParams. A CipherParams object represents a collection of parameters such as the IV, a salt, and the raw ciphertext itself. When you pass a string, it's automatically converted to a CipherParams object according to a configurable format strategy.
|
|
321
|
-
|
|
322
|
-
=== The Cipher Output ===
|
|
323
|
-
|
|
324
|
-
The plaintext you get back after decryption is a WordArray object. See Hashers' Output for more detail.
|
|
325
|
-
|
|
326
|
-
The ciphertext you get back after encryption isn't a string yet. It's a CipherParams object. A CipherParams object gives you access to all the parameters used during encryption. When you use a CipherParams object in a string context, it's automatically converted to a string according to a format strategy. The default is an OpenSSL-compatible format.
|
|
327
|
-
|
|
328
|
-
{{{
|
|
329
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
330
|
-
<script>
|
|
331
|
-
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase");
|
|
332
|
-
|
|
333
|
-
alert(encrypted.key); // 74eb593087a982e2a6f5dded54ecd96d1fd0f3d44a58728cdcd40c55227522223
|
|
334
|
-
alert(encrypted.iv); // 7781157e2629b094f0e3dd48c4d786115
|
|
335
|
-
alert(encrypted.salt); // 7a25f9132ec6a8b34
|
|
336
|
-
alert(encrypted.ciphertext); // 73e54154a15d1beeb509d9e12f1e462a0
|
|
337
|
-
|
|
338
|
-
alert(encrypted); // U2FsdGVkX1+iX5Ey7GqLND5UFUoV0b7rUJ2eEvHkYqA=
|
|
339
|
-
</script>
|
|
340
|
-
}}}
|
|
341
|
-
|
|
342
|
-
You can define your own formats in order to be compatible with other crypto implementations. A format is an object with two methods—stringify and parse—that converts between CipherParams objects and ciphertext strings.
|
|
343
|
-
|
|
344
|
-
Here's how you might write a JSON formatter:
|
|
345
|
-
|
|
346
|
-
{{{
|
|
347
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
348
|
-
<script>
|
|
349
|
-
var JsonFormatter = {
|
|
350
|
-
stringify: function (cipherParams) {
|
|
351
|
-
// create json object with ciphertext
|
|
352
|
-
var jsonObj = {
|
|
353
|
-
ct: cipherParams.ciphertext.toString(CryptoJS.enc.Base64)
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
// optionally add iv and salt
|
|
357
|
-
if (cipherParams.iv) {
|
|
358
|
-
jsonObj.iv = cipherParams.iv.toString();
|
|
359
|
-
}
|
|
360
|
-
if (cipherParams.salt) {
|
|
361
|
-
jsonObj.s = cipherParams.salt.toString();
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
// stringify json object
|
|
365
|
-
return JSON.stringify(jsonObj);
|
|
366
|
-
},
|
|
367
|
-
|
|
368
|
-
parse: function (jsonStr) {
|
|
369
|
-
// parse json string
|
|
370
|
-
var jsonObj = JSON.parse(jsonStr);
|
|
371
|
-
|
|
372
|
-
// extract ciphertext from json object, and create cipher params object
|
|
373
|
-
var cipherParams = CryptoJS.lib.CipherParams.create({
|
|
374
|
-
ciphertext: CryptoJS.enc.Base64.parse(jsonObj.ct)
|
|
375
|
-
});
|
|
376
|
-
|
|
377
|
-
// optionally extract iv and salt
|
|
378
|
-
if (jsonObj.iv) {
|
|
379
|
-
cipherParams.iv = CryptoJS.enc.Hex.parse(jsonObj.iv)
|
|
380
|
-
}
|
|
381
|
-
if (jsonObj.s) {
|
|
382
|
-
cipherParams.salt = CryptoJS.enc.Hex.parse(jsonObj.s)
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
return cipherParams;
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase", { format: JsonFormatter });
|
|
390
|
-
|
|
391
|
-
alert(encrypted); // {"ct":"tZ4MsEnfbcDOwqau68aOrQ==","iv":"8a8c8fd8fe33743d3638737ea4a00698","s":"ba06373c8f57179c"}
|
|
392
|
-
|
|
393
|
-
var decrypted = CryptoJS.AES.decrypt(encrypted, "Secret Passphrase", { format: JsonFormatter });
|
|
394
|
-
|
|
395
|
-
alert(decrypted.toString(CryptoJS.enc.Utf8)); // Message
|
|
396
|
-
</script>
|
|
397
|
-
}}}
|
|
398
|
-
|
|
399
|
-
=== Progressive Ciphering ===
|
|
400
|
-
|
|
401
|
-
{{{
|
|
402
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
403
|
-
<script>
|
|
404
|
-
var key = CryptoJS.enc.Hex.parse('000102030405060708090a0b0c0d0e0f');
|
|
405
|
-
var iv = CryptoJS.enc.Hex.parse('101112131415161718191a1b1c1d1e1f');
|
|
406
|
-
|
|
407
|
-
var aesEncryptor = CryptoJS.algo.AES.createEncryptor(key, { iv: iv });
|
|
408
|
-
|
|
409
|
-
var ciphertextPart1 = aesEncryptor.process("Message Part 1");
|
|
410
|
-
var ciphertextPart2 = aesEncryptor.process("Message Part 2");
|
|
411
|
-
var ciphertextPart3 = aesEncryptor.process("Message Part 3");
|
|
412
|
-
var ciphertextPart4 = aesEncryptor.finalize();
|
|
413
|
-
|
|
414
|
-
var aesDecryptor = CryptoJS.algo.AES.createDecryptor(key, { iv: iv });
|
|
415
|
-
|
|
416
|
-
var plaintextPart1 = aesDecryptor.process(ciphertextPart1);
|
|
417
|
-
var plaintextPart2 = aesDecryptor.process(ciphertextPart2);
|
|
418
|
-
var plaintextPart3 = aesDecryptor.process(ciphertextPart3);
|
|
419
|
-
var plaintextPart4 = aesDecryptor.process(ciphertextPart4);
|
|
420
|
-
var plaintextPart5 = aesDecryptor.finalize();
|
|
421
|
-
</script>
|
|
422
|
-
}}}
|
|
423
|
-
|
|
424
|
-
=== Interoperability ===
|
|
425
|
-
|
|
426
|
-
==== With OpenSSL ====
|
|
427
|
-
|
|
428
|
-
Encrypt with OpenSSL:
|
|
429
|
-
|
|
430
|
-
{{{
|
|
431
|
-
openssl enc -aes-256-cbc -in infile -out outfile -pass pass:"Secret Passphrase" -e -base64
|
|
432
|
-
}}}
|
|
433
|
-
|
|
434
|
-
Decrypt with CryptoJS:
|
|
435
|
-
|
|
436
|
-
{{{
|
|
437
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/rollups/aes.js"></script>
|
|
438
|
-
<script>
|
|
439
|
-
var decrypted = CryptoJS.AES.decrypt(openSSLEncrypted, "Secret Passphrase");
|
|
440
|
-
</script>
|
|
441
|
-
}}}
|
|
442
|
-
|
|
443
|
-
== Encoders ==
|
|
444
|
-
|
|
445
|
-
CryptoJS can convert from encoding formats such as Base64, Latin1 or Hex to WordArray objects and vica versa.
|
|
446
|
-
|
|
447
|
-
{{{
|
|
448
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/core-min.js"></script>
|
|
449
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/enc-utf16-min.js"></script>
|
|
450
|
-
<script src="http://crypto-js.googlecode.com/svn/tags/3.1/build/components/enc-base64-min.js"></script>
|
|
451
|
-
<script>
|
|
452
|
-
var words = CryptoJS.enc.Base64.parse('SGVsbG8sIFdvcmxkIQ==');
|
|
453
|
-
var base64 = CryptoJS.enc.Base64.stringify(words);
|
|
454
|
-
|
|
455
|
-
var words = CryptoJS.enc.Latin1.parse('Hello, World!');
|
|
456
|
-
var latin1 = CryptoJS.enc.Latin1.stringify(words);
|
|
457
|
-
|
|
458
|
-
var words = CryptoJS.enc.Hex.parse('48656c6c6f2c20576f726c6421');
|
|
459
|
-
var hex = CryptoJS.enc.Hex.stringify(words);
|
|
460
|
-
|
|
461
|
-
var words = CryptoJS.enc.Utf8.parse('𤭢');
|
|
462
|
-
var utf8 = CryptoJS.enc.Utf8.stringify(words);
|
|
463
|
-
|
|
464
|
-
var words = CryptoJS.enc.Utf16.parse('Hello, World!');
|
|
465
|
-
var utf16 = CryptoJS.enc.Utf16.stringify(words);
|
|
466
|
-
|
|
467
|
-
var words = CryptoJS.enc.Utf16LE.parse('Hello, World!');
|
|
468
|
-
var utf16 = CryptoJS.enc.Utf16LE.stringify(words);
|
|
469
|
-
</script>
|
|
470
|
-
}}}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
;(function (root, factory) {
|
|
2
|
-
if (typeof exports === "object") {
|
|
3
|
-
// CommonJS
|
|
4
|
-
module.exports = exports = factory(require("./core"));
|
|
5
|
-
}
|
|
6
|
-
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
// AMD
|
|
8
|
-
define(["./core"], factory);
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
// Global (browser)
|
|
12
|
-
factory(root.CryptoJS);
|
|
13
|
-
}
|
|
14
|
-
}(this, function (CryptoJS) {
|
|
15
|
-
|
|
16
|
-
(function () {
|
|
17
|
-
// Shortcuts
|
|
18
|
-
var C = CryptoJS;
|
|
19
|
-
var C_lib = C.lib;
|
|
20
|
-
var WordArray = C_lib.WordArray;
|
|
21
|
-
var C_enc = C.enc;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Base64 encoding strategy.
|
|
25
|
-
*/
|
|
26
|
-
var Base64 = C_enc.Base64 = {
|
|
27
|
-
/**
|
|
28
|
-
* Converts a word array to a Base64 string.
|
|
29
|
-
*
|
|
30
|
-
* @param {WordArray} wordArray The word array.
|
|
31
|
-
*
|
|
32
|
-
* @return {string} The Base64 string.
|
|
33
|
-
*
|
|
34
|
-
* @static
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
*
|
|
38
|
-
* var base64String = CryptoJS.enc.Base64.stringify(wordArray);
|
|
39
|
-
*/
|
|
40
|
-
stringify: function (wordArray) {
|
|
41
|
-
// Shortcuts
|
|
42
|
-
var words = wordArray.words;
|
|
43
|
-
var sigBytes = wordArray.sigBytes;
|
|
44
|
-
var map = this._map;
|
|
45
|
-
|
|
46
|
-
// Clamp excess bits
|
|
47
|
-
wordArray.clamp();
|
|
48
|
-
|
|
49
|
-
// Convert
|
|
50
|
-
var base64Chars = [];
|
|
51
|
-
for (var i = 0; i < sigBytes; i += 3) {
|
|
52
|
-
var byte1 = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;
|
|
53
|
-
var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;
|
|
54
|
-
var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;
|
|
55
|
-
|
|
56
|
-
var triplet = (byte1 << 16) | (byte2 << 8) | byte3;
|
|
57
|
-
|
|
58
|
-
for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {
|
|
59
|
-
base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Add padding
|
|
64
|
-
var paddingChar = map.charAt(64);
|
|
65
|
-
if (paddingChar) {
|
|
66
|
-
while (base64Chars.length % 4) {
|
|
67
|
-
base64Chars.push(paddingChar);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
return base64Chars.join('');
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Converts a Base64 string to a word array.
|
|
76
|
-
*
|
|
77
|
-
* @param {string} base64Str The Base64 string.
|
|
78
|
-
*
|
|
79
|
-
* @return {WordArray} The word array.
|
|
80
|
-
*
|
|
81
|
-
* @static
|
|
82
|
-
*
|
|
83
|
-
* @example
|
|
84
|
-
*
|
|
85
|
-
* var wordArray = CryptoJS.enc.Base64.parse(base64String);
|
|
86
|
-
*/
|
|
87
|
-
parse: function (base64Str) {
|
|
88
|
-
// Shortcuts
|
|
89
|
-
var base64StrLength = base64Str.length;
|
|
90
|
-
var map = this._map;
|
|
91
|
-
var reverseMap = this._reverseMap;
|
|
92
|
-
|
|
93
|
-
if (!reverseMap) {
|
|
94
|
-
reverseMap = this._reverseMap = [];
|
|
95
|
-
for (var j = 0; j < map.length; j++) {
|
|
96
|
-
reverseMap[map.charCodeAt(j)] = j;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Ignore padding
|
|
101
|
-
var paddingChar = map.charAt(64);
|
|
102
|
-
if (paddingChar) {
|
|
103
|
-
var paddingIndex = base64Str.indexOf(paddingChar);
|
|
104
|
-
if (paddingIndex !== -1) {
|
|
105
|
-
base64StrLength = paddingIndex;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Convert
|
|
110
|
-
return parseLoop(base64Str, base64StrLength, reverseMap);
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
_map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
function parseLoop(base64Str, base64StrLength, reverseMap) {
|
|
118
|
-
var words = [];
|
|
119
|
-
var nBytes = 0;
|
|
120
|
-
for (var i = 0; i < base64StrLength; i++) {
|
|
121
|
-
if (i % 4) {
|
|
122
|
-
var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);
|
|
123
|
-
var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);
|
|
124
|
-
var bitsCombined = bits1 | bits2;
|
|
125
|
-
words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);
|
|
126
|
-
nBytes++;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return WordArray.create(words, nBytes);
|
|
130
|
-
}
|
|
131
|
-
}());
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
return CryptoJS.enc.Base64;
|
|
135
|
-
|
|
136
|
-
}));
|