pasec


Namepasec JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/5uroj/pasec-py
SummaryA strong password Generator using weak passphrase.
upload_time2024-02-27 11:54:15
maintainer
docs_urlNone
authorssuroj (Suroj Sapkota)
requires_python
license
keywords password security password generator pasec
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://pasec.ssuroj.com.np/)

## Installation

You can install the library via pip:

```bash
pip install pasec
`````

## Usage Example

To generate a strong password using the `PaSec()` function, follow these steps:

1. Import the `PaSec` function from the library:

    ```python
    from pasec import PaSec
    `````

2. Call the `PaSec` function 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).

    ```python
    # 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.


    ````
    ````
````

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/5uroj/pasec-py",
    "name": "pasec",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Password,Security,Password Generator,PaSec",
    "author": "ssuroj (Suroj Sapkota)",
    "author_email": "<surojsapkota1@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/da/64/ed3db8a39df0dbe514cb8297c00e91dba82507cd579b13f974aa1f355a80/pasec-2.0.0.tar.gz",
    "platform": null,
    "description": "# PaSec\r\nPaSec 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.\r\n\r\n## Overview\r\n\r\nThis 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.\r\n### Web Version => [pasec.ssuroj.com.np](https://pasec.ssuroj.com.np/)\r\n\r\n## Installation\r\n\r\nYou can install the library via pip:\r\n\r\n```bash\r\npip install pasec\r\n`````\r\n\r\n## Usage Example\r\n\r\nTo generate a strong password using the `PaSec()` function, follow these steps:\r\n\r\n1. Import the `PaSec` function from the library:\r\n\r\n    ```python\r\n    from pasec import PaSec\r\n    `````\r\n\r\n2. Call the `PaSec` function with the following parameters:\r\n\r\n    - `passphrase`: The passphrase used for generating the password.\r\n    - `length` (optional): The desired length of the password (default is 20).\r\n    - `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).\r\n\r\n    ```python\r\n    # Example usage\r\n    password = PaSec(\"mysecret\", 20, \"1101\")\r\n    # Now the password is saved in variable which can be used\r\n    `````\r\n\r\nIn this example:\r\n- The passphrase is \"mysecret\".\r\n- The desired password length is 20 characters.\r\n- The CSSN parameter \"1101\" specifies that the password should include capital letters, small letters, and numbers, but exclude symbols.\r\n\r\n\r\n    ````\r\n    ````\r\n````\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A strong password Generator using weak passphrase.",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/5uroj/pasec-py"
    },
    "split_keywords": [
        "password",
        "security",
        "password generator",
        "pasec"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e6bfe2afac1f725e8dfaa9a012eae486bd621a39b482b5d91bc1631c2c262b2",
                "md5": "6e7cccac42a352f836781c3af48f9473",
                "sha256": "d04c9ac5e952bf3876efd46de1e465dac10b33f6e0aa637f6c23c3b2734f8a75"
            },
            "downloads": -1,
            "filename": "pasec-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6e7cccac42a352f836781c3af48f9473",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3283,
            "upload_time": "2024-02-27T11:54:14",
            "upload_time_iso_8601": "2024-02-27T11:54:14.280782Z",
            "url": "https://files.pythonhosted.org/packages/6e/6b/fe2afac1f725e8dfaa9a012eae486bd621a39b482b5d91bc1631c2c262b2/pasec-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "da64ed3db8a39df0dbe514cb8297c00e91dba82507cd579b13f974aa1f355a80",
                "md5": "0e4ccceecd4bf3343228f88a9da5e03b",
                "sha256": "572eecf7f62ba9d5bb86ac685b251f4ed35839e8b83a9e6e133bff3e86b74cd7"
            },
            "downloads": -1,
            "filename": "pasec-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0e4ccceecd4bf3343228f88a9da5e03b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3162,
            "upload_time": "2024-02-27T11:54:15",
            "upload_time_iso_8601": "2024-02-27T11:54:15.525330Z",
            "url": "https://files.pythonhosted.org/packages/da/64/ed3db8a39df0dbe514cb8297c00e91dba82507cd579b13f974aa1f355a80/pasec-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-27 11:54:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "5uroj",
    "github_project": "pasec-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pasec"
}
        
Elapsed time: 0.17848s