Skip to main content

Spell encryptor

Project description

SpellCrypt

Encryption algorithm that creates a readable text as it's cyphertext.

This disguises the fact that an encryption is used. (Discounting the fact that the cyphertext makes limited sense.)

 An encryption algorithm that turns this:

    The greatest Enemy of Knowledge is not ignorance, it is the illusion of
    knowledge.

 Into this:

    Nonagon waxy Unimplemented whitecap Clinically dionysos bussey nootka,
        constitutionals colb kirkwood befitting whitecap clinically.

How it works:

A dictionary is indexed into the original file, and the indexes are 'encrypted' The new index is untangled from the dictionary, which yields a different text. The decryption does the reverse.

Strength: strong enough to withstand any, but the most resource intensive attacks. The variable strength is also a function of the password quality.

Justification:

This encryption hides the fact that the text is encrypted. Because it uses plain text intermediary, it is can be deployed seamlessly into any context, including email, text message, document or attachment.

Command line:

The program can be driven from the command line. Both encrypt / decrypt function write to stdout, unless specified otherwise with the -o option.

Usage: spellcrypt.py [options] [infile] [outfile]

Options:
  -h, --help            show this help message and exit
  -e, --encrypt         encrypt data
  -d, --decrypt         eecrypt data
  -i infname, --in=infname
                        read from file
  -o outfname, --out=outfname
                        write to file; stdout if '-' specified.
  -s instring, --str=instring
                        string to operate on (quote if space or newline)
  -p pass, --pass=pass  password to use
  -f, --force           force overwrite
  -q, --quiet           print fewer status messages
  -v, --verbose         status message verbosity
  -z, --zoo             show password quality
  -g dlevel, --debug=dlevel
                        debug output level
  -m dmask, --mask=dmask
                        debug output mask

Use filename '-' for  stdin

The soup.py utility just creates random strings (sentences).

System Requirements:

o Python 3 (as of Mar 3 2021)

For the GUI:

o PyGObject and dependencies

Caveats:

Words that are not in the english dictionary are included vebatime in the cyphertext. Numbers are also included verbatim in the cyphertext. This is not a serious limitation, as the context around the number is encrypted.

Screen Shot:

The screen shot below shows a text file loaded into the top window. The middle window shows the encrypted text after pressing the Encrypt button. The Decrypt feature allows verification of text, and the 'Check' button compares the top edit box text with the button box text.

The encrypted content then can be copied from the middle window into an email / document or any transmission.

Screen Shot

License: Open Source, FreeWare

// EOF

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spellcrypt-1.0.3.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spellcrypt-1.0.3-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file spellcrypt-1.0.3.tar.gz.

File metadata

  • Download URL: spellcrypt-1.0.3.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for spellcrypt-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ac40cb32bc0b41f619a43abdeb49f738b2cf376c8a0b7ece24729b0d83983bc2
MD5 f870949514b07a73379fb8a15dcd7af0
BLAKE2b-256 d6aa5ed7d3ae10eb66cec556e5689763fc3d7a5263941f5731a4e47ad712f242

See more details on using hashes here.

File details

Details for the file spellcrypt-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: spellcrypt-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for spellcrypt-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b908be01ebac0a3b0fcc5059b8aa2bd1d37e29459c043e7d36d6e967c5c462f
MD5 929302770b4a5dcd38f1102e0a8d2ec0
BLAKE2b-256 1325369f29ee3044c8a4129baa73bab74e8a440655f8e3bf6a5a1abbf7d2a0fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page