Skip to content
/ nlcrypt Public

NLCrypt is an attempt to create a cryptography system that doesn't look like a cryptography.

Notifications You must be signed in to change notification settings

euske/nlcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLCrypt: Semantic Cryptography

NLCrypt is an attempt to create a cryptography system that doesn't look like a cryptography.

It disguises a secret message as a grammatical (but nonsensical) text by changing its meanings.

Demo

http://nlcrypt.tabesugi.net/

How It Works

http://euske.github.io/nlcrypt/

Installation

Prerequisites:

How to build:

Unpack the WordNet tarball as WordNet-3.0 then type this.

$ make

After this you should see w2g.cdb and g2w.cdb files.

Command Line Usage

Syntax:

$ nlcrypt.py [options] key [file ...]

Options:

  • -c codec ... Specifies a Python codec (default: utf-8)
  • -b basedir ... Directory for dictionary files (w2g.cdb and g2w.cdb)
  • -R ... Reverse the direction (decryption).
  • -C ... Enables CBC mode. It makes the encrypted text even more nonsensical (but probably harder to guess the meaning).

Acknowledgements

  • WordNet is used as a dictionary.
  • Sample texts are taken from Bruce Schneier's quotes.

About

NLCrypt is an attempt to create a cryptography system that doesn't look like a cryptography.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages