KuroLabs / stegcloak

Hide secrets with invisible characters in plain text securely using passwords 🧙🏻‍♂️⭐

Home Page:https://stegcloak.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing the ZWC amount.

boredgame137 opened this issue · comments

Trying to change the ZWCs and the amount of them used to three on this line here in stegcloak.js.

const zwc = ["‌", "‍", "​"]; (200c, 200d, 200b)

It looks like the shrink and expand function expect 5 and 6 characters so is there an easy way to limit it to user three or two? Thank you.

@boredgame137 It is possible to restrict the number of ZWCs. However this modification is not a direct fix, the algorithm should be modified appropriately.

Thank you for your time and suggestion!