Skip to content

Instantly share code, notes, and snippets.

@844196
Created October 19, 2015 13:06
Show Gist options
  • Select an option

  • Save 844196/54177a34b5474d504a60 to your computer and use it in GitHub Desktop.

Select an option

Save 844196/54177a34b5474d504a60 to your computer and use it in GitHub Desktop.
require 'n_cipher'
puts :encode
p NCipher.encode(
'見えるかな?',
seed: "\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A",
delimiter: "\u00A0"
)
puts :decode
p NCipher.decode(
"                                     ",
seed: "\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A",
delimiter: "\u00A0"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment