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
Release files for scryp 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scryp-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / scryp-0.0.5-py3-none-any.whl
| Download URL | scryp-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
653384d9fa9dd8818f2e1fdc6589dde761edb39be149bbc36b360e813c4871df
|
|
BLAKE2b-256 checksum How to use checksums |
37e7bc2fa7697f3f1833e12238ae208d80ef6c4aa239af9f7b34211cd63ceed8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|