Skip to main content

Secrypt

Simple Crypting library for python

Usage:

import secrypt

# create a crypt object
c = secrypt.Crypt(key=0.0)	# key : 0.0 is the default

# encrypt string
data = "hello world!"
en = c.encrypt(data)	# returns encrypted data

# decrypt string
de = c.decrypt(en)		# returns original data

# write encrypted file
content = """Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum."""

c.write("test.txt", content)	# returns size of encrypted file

# read encrypted file
retrieved = c.read("test.txt")	# return original file data

Release files for secrypt 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for secrypt 2.0.1
File Size Uploaded
secrypt-2.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for secrypt 2.0.1
File Interpreter ABI Platform
secrypt-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / secrypt-2.0.1.tar.gz

Download URL secrypt-2.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
26faf152967cb6b2dcdaed83711eacdd5d43349de7880c23b7fb846684481525
BLAKE2b-256 checksum
How to use checksums
cd613c402377ad6892f14fb74626a0e07782ee3dffb9609444a3d2f22ef7ec9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release files / secrypt-2.0.1-py3-none-any.whl

Download URL secrypt-2.0.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8691116cc2da51753a6933aabecda476861a04779a68acd0053d2b82fcd0aa92
BLAKE2b-256 checksum
How to use checksums
ff06033ae37ea1a2fe1dfb4a86b2c253822a155aa8f4f779724c0562432637cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page