PaSec
PaSec is a secure password generator that allows you to create strong, unique passwords using a passphrase of your choice. With PaSec, you can generate passwords that are virtually impossible to crack, giving you peace of mind when it comes to online security. It ensures that the generated password is always the same for a given passphrase.It will generate the strong password from weak passphrase which is easy to remember.
Overview
This is Python library provides a function for generating strong passwords based on the user specified passphrase and length, and character composition CSSN(capital letters, small letters, symbols, and numbers). This is python library adaptation of web version of PaSec.
Web Version => pasec.ssuroj.com.np
Installation
You can install the library via pip:
pip install pasec
Usage Example
To generate a strong password using the PaSec() function, follow these steps:
-
Import the
PaSecfunction from the library:from pasec import PaSec
-
Call the
PaSecfunction with the following parameters:passphrase: The passphrase used for generating the password.length(optional): The desired length of the password (default is 20).cssn(optional): A binary string specifying whether to include capital letters, small letters, symbols, and numbers in the password. Use '1' to include and '0' to exclude. The default is '1111' (i.e., include all).
# Example usage password = PaSec("mysecret", 20, "1101") # Now the password is saved in variable which can be used
In this example:
-
The passphrase is "mysecret".
-
The desired password length is 20 characters.
-
The CSSN parameter "1101" specifies that the password should include capital letters, small letters, and numbers, but exclude symbols.
Metadata
Release files for pasec 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pasec-2.0.0.tar.gz | 3.2 kB | Without provenance | Details for pasec-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pasec-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for pasec-2.0.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / pasec-2.0.0.tar.gz
| Download URL | pasec-2.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
572eecf7f62ba9d5bb86ac685b251f4ed35839e8b83a9e6e133bff3e86b74cd7
|
|
BLAKE2b-256 checksum How to use checksums |
da64ed3db8a39df0dbe514cb8297c00e91dba82507cd579b13f974aa1f355a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / pasec-2.0.0-py3-none-any.whl
| Download URL | pasec-2.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d04c9ac5e952bf3876efd46de1e465dac10b33f6e0aa637f6c23c3b2734f8a75
|
|
BLAKE2b-256 checksum How to use checksums |
6e6bfe2afac1f725e8dfaa9a012eae486bd621a39b482b5d91bc1631c2c262b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for pasec 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.