Skip to main content

A Simple String Encryption Tool.

Project description

scrypt (Simple String Encyption)

Simple string encyption package is written in python.
scrypt is used for string encryption with password.

INSTALLATION

Installation with pip

 $ pip3 install scryp

Encrypt String

encrypt() function is used for encrypt string. encrypt("STRING","PASSWORD") function takes 2 arguments. 1st Is string for encrypt and second is password string.

from scryp import encrypt
encrypted_string = encrypt('my name','AStrongPassword')

print(encrypted_string)

###Output

5038525S5593225S1479200S5084750S4483825S5038525S4668725

Decrypt String

decrypt() function is used for encrypt string. decrypt("STRING","PASSWORD") function takes 2 arguments. 1st Is string for decrypt and second is password string.

from scryp import encrypt,decrypt
encrypted_string = encrypt('my name','AStrongPassword')

decrypted_string = decrypt(encrypted_string,'AStrongPassword')
print(decrypted_string)

###Output

my name

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

scryp-0.0.5-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

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