Skip to main content

A simple library for security tasks like password hashing, token management, and encryption.

Project description

ShieldedPy

shieldedpy is a simple library for managing security tasks such as password hashing, token management, and data encryption.

Installation

You can install shieldedpy using pip:

pip install shieldedpy

Usage

from shielded import SecurityManager

Initialize SecurityManager

security = SecurityManager(secret_key='your-secret-key')

Password Handling

hashed_password = security.hash_password('mypassword') is_valid = security.verify_password(hashed_password, 'mypassword')

Token Management

token = security.create_token({'user_id': 123}) data = security.validate_token(token)

Encryption/Decryption

encrypted_data = security.encrypt('sensitive data') decrypted_data = security.decrypt(encrypted_data)

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

ShieldedPy-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

ShieldedPy-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ShieldedPy-1.0.0.tar.gz.

File metadata

  • Download URL: ShieldedPy-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for ShieldedPy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8f08be9333614d8f6132758ac26f132ea7cd778e00e2df82e5f83032eb235a94
MD5 66fcb1d622389328422a758c9437b563
BLAKE2b-256 8c2264e70ee6ba3044087c68c68357ae87eed63013645c178e6da950940fef30

See more details on using hashes here.

File details

Details for the file ShieldedPy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ShieldedPy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for ShieldedPy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2d77948887ff1cf7bab20ff1db5d5aa5c2565f3ce539a788593cd826a7fbcfc
MD5 911d36ba1f22669a8716140238c78dba
BLAKE2b-256 b6dc9cd3a2f9dbcee149d370f97d5703ff19b36f3eecbeca7764e4f3fb6a56e4

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