Skip to main content

An translator.

Project description

scrypter

An encrypter.

Example

40387509113504109504119407395111045161094023441493410324129951111941790502111507119510108511100413295091254129950512551810841442 - Key: No key

3184323731963185319531793127312031923242319231783126323231943176312732333194318431863222317931893127323631793187320132333196317431943168 - Key: PyPI

Use with arguments

usage: scrypter [-h] [-e | -d | -g] [-k KEY] [text]

this script will encrypt/decrypt text.

positional arguments:
  text               Text to encrypt/decrypt.

optional arguments:
  -h, --help         show this help message and exit
  -e, --encrypt      do encrypting.
  -d, --decrypt      do decrypting.
  -g, --gui          show gui.
  -k KEY, --key KEY  key for encrypting/decrypting.

Use on script

>>> import scrypter
>>> scrypter.encrypt("Hello, Python!")
'4017350610750811650110951610541242416264058551012150111751110351310850911941033'
>>> scrypter.encrypt("Good morning, Python!", "Python")
'315132323227320431433219319132353226320932213213312431533196322532273214319132313149'
>>> scrypter.decrypt('4017350610750811650110951610541242416264058551012150111751110351310850911941033')
'Hello, Python!'
>>> scrypter.decrypt('315132323227320431433219319132353226320932213213312431533196322532273214319132313149',
...                  "Python")
'Good morning, Python!'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

scrypter-1.2.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file scrypter-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: scrypter-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.3

File hashes

Hashes for scrypter-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 437ffd9d5df0798b4fef7b99dafb94c2d5ee1c026dbfa492f4e1407bf73fb459
MD5 9e933bc0169b4aaa9f7a08cb48870a1a
BLAKE2b-256 5b76f27a5b3c5995c49281908e258d1d3959579e70423f671c0dc8f8087600eb

See more details on using hashes here.

Supported by

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