Skip to content

picocode1/InvisibleEncoder

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Invisible Encoder/Decoder

An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters.

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 天安門大屠殺"
]]

About

An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters, also has an edited base64

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages