Skip to main content

A very simple library to safe your passwords.

Project description

safe_password

This is a simple library, i do in free time, when trying to understand, how websites store passwords, and how to do this as much secure, as possible. This is learning project, so you can use it for free in any software, you make.

Examples

This module have only two functions - generate(password), and verify(salt, user_input). You can found more examples in src/example_safe_password/, but here is a short explanation:

  1. generate(password) takes raw user password, and generate random hash and salt, that always unique.
  2. verify(salt, user_input, password), where salt and password is given by generate() function, and user_input is raw user input. This function return True, if it's correct input.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

safe_password-1.0.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

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

safe_password-1.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file safe_password-1.0.tar.gz.

File metadata

  • Download URL: safe_password-1.0.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for safe_password-1.0.tar.gz
Algorithm Hash digest
SHA256 a28a683804ece86ca1d521a6d504792c09ab62edea31eda22f834368e0fe33d7
MD5 40ac1df63544bd01f809ebe5f0c41561
BLAKE2b-256 88bfd71eea410f082177edbc07df24fb0073818440dd8cbe2f2e0ed871ccc734

See more details on using hashes here.

File details

Details for the file safe_password-1.0-py3-none-any.whl.

File metadata

  • Download URL: safe_password-1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for safe_password-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61b16880b1d8ff527d1fd6d51919c3fc0726d7c1fa5bc40acfaf445a03611547
MD5 b0bb6fe92c60002283fe3e699a3bbf77
BLAKE2b-256 e59b9b9fed7e7d1fbe3f9512ec4604ab1321a7a4d8471ce08a25165982949b9f

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