https://github.com/foss-cell-gecpkd/hide-it
A progresive web app (PWA) which utilizes whitespaces to make text invisible
https://github.com/foss-cell-gecpkd/hide-it
hacktoberfest pwa reactjs steganography whitespace
Last synced: 4 months ago
JSON representation
A progresive web app (PWA) which utilizes whitespaces to make text invisible
- Host: GitHub
- URL: https://github.com/foss-cell-gecpkd/hide-it
- Owner: FOSS-Cell-GECPKD
- License: mit
- Created: 2020-10-10T07:04:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T08:50:43.000Z (over 3 years ago)
- Last Synced: 2023-07-10T07:30:48.126Z (almost 2 years ago)
- Topics: hacktoberfest, pwa, reactjs, steganography, whitespace
- Language: JavaScript
- Homepage: https://hide-it.netlify.app/
- Size: 1.02 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Hide-it
[](https://github.com/FOSS-Cell-GECPKD/hide-it/blob/main/LICENSE)
[](https://github.com/FOSS-Cell-GECPKD/hide-it/issues)
[](https://gitter.im/FOSS-Cell-GECPKD/Hide-it)[](https://hide-it.netlify.app/)
[](https://app.circleci.com/pipelines/github/FOSS-Cell-GECPKD/Hide-it)## About
A progressive web-app which utilizes whitespaces to hide the text from being visible.
## Setup
#### Clone this repo!
Make a local clone of this repo, so you can work on it from your own computer.
```
git clone https://github.com/FOSS-Cell-GECPKD/hide-it.git
```
#### Running the React App- open terminal at the repo
```
cd hide-it
npm install
npm start
```
## Instructions for use#### To Encode
- Enter the text you want to hide in the first box
- Enter an optional mask text
- Press encode button
- Press Copy, and you have the encrypted text in your clipboard
#### To Decode
- Enter the encrypted text into the first box
- Press decode, and there you have it## How this works?
#### Encoder
- First it takes the text to encode and splits it into characters.
- It then takes each character and converts it into unicode.
- The unicode is then converted to 8-bit binary code.
- Then, for each 1 and 0 it returns a zero-width character ie '\u200B' and '\u200C' respectively.
- Finally, it joins all these into a string, places '\uFEFF' in between and returns it.#### Decoder
- Firstly, it splits the given string into an array using '\uFEFF'
- Now, it changes zero-width characters into binary by replacing 1,0 for every '\u200B' and '\u200C' respectively.
- Then it converts these binary codes into integer.
- The integers are then converted to character.
- And lastly, the characters are then joined to make the final string.### Contributing
- Check out our [contributing](CONTRIBUTING.md) guide.### Community
Discussions about Hide-it takes place on Gitter Chat. Anyone is welcome to join these conversations.## License
Licensed under the [MIT License](LICENSE).This project was a part of FOSS OpenHack '20: https://openhack.gitbook.io/openhack-20/.