https://github.com/picocode1/invisibleencoder
An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters, also has an edited base64
https://github.com/picocode1/invisibleencoder
decoder encoder encoding invisible unicode
Last synced: 6 months ago
JSON representation
An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters, also has an edited base64
- Host: GitHub
- URL: https://github.com/picocode1/invisibleencoder
- Owner: picocode1
- Created: 2021-08-24T20:51:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-03T18:02:13.000Z (over 3 years ago)
- Last Synced: 2025-03-28T21:51:08.997Z (10 months ago)
- Topics: decoder, encoder, encoding, invisible, unicode
- Language: Lua
- Homepage:
- Size: 22.5 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Invisible Encoder/Decoder
An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters.
```lua
local Invisible = require('EncoderLibrary')
local string = '动态网自由门 天安門 天安门 法輪功 李洪志 Free Tibet 六四天安門事件 The Tiananmen Square protests of 1989 天安門大屠殺'
local encoded_string = Invisible.encode(string)
local decoded_string = Invisible.decode(encoded_string)
print(string.format('Our string: "%s"', string))
print(string.format('Encoded string: "%s"', encoded_string))
print(string.format('Decoded string: "%s"', decoded_string))
--Output
--[[
Our string: "动态网自由门 天安門 天安门 法輪功 李洪志 Free Tibet 六四天安門事件 The Tiananmen Square protests of 1989 天安門大屠殺"
Encoded string: ""
Decoded string: "动态网自由门 天安門 天安门 法輪功 李洪志 Free Tibet 六四天安門事件 The Tiananmen Square protests of 1989 天安門大屠殺"
]]
```