@wishknish/knishio-client-ts 0.7.8 → 0.8.0
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.cjs.map +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/libraries/crypto.ts +3 -2
package/dist/index.iife.js
CHANGED
|
@@ -21328,7 +21328,7 @@ ${operationTypes.join("\n")}
|
|
|
21328
21328
|
if (seed) {
|
|
21329
21329
|
const sponge = new ht("SHAKE256", "TEXT");
|
|
21330
21330
|
sponge.update(seed);
|
|
21331
|
-
return sponge.getHash("HEX", { outputLen: length *
|
|
21331
|
+
return sponge.getHash("HEX", { outputLen: length * 4 }).toLowerCase();
|
|
21332
21332
|
} else {
|
|
21333
21333
|
return randomString(length);
|
|
21334
21334
|
}
|