'Cross-platform library for generating smart passwords.'
Project description
Smart Passwords Library
Short Description:
smartpasslib - Cross-platform library for generating smart passwords.
Author and developer: A.A Suvorov.
Supported:
- Linux: All.
- Windows: 7/8/10.
- Termux (Android).
What's new?
smartpasslib v0.4.0
Requirements:
smartrandom - Random Data Generators.
Help:
pip install smartpasslib
from smartpasslib.generators import SmartPasswordMaster
login = 'login'
secret = 'secret'
length = 15
master = SmartPasswordMaster()
smart_password = master.get_smart_password(login=login, secret=secret, length=length)
smart_password2 = master.get_smart_password(login=login, secret=secret, length=length)
check_passwords = smart_password == smart_password2 # True
key = master.get_public_key(login, secret)
check_data = master.check_data(login, secret, key)
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Licensed under the terms of the BSD 3-Clause License
(see LICENSE for details).
Copyright © 2018-2024, A.A Suvorov
All rights reserved.
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
smartpasslib-0.4.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for smartpasslib-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f0a4fa644ef1aa68bc1971cb133ba5603cf7d9294d42abf2dfbc8481444933 |
|
MD5 | a78a3a7c45311f7771fb792ac08aa890 |
|
BLAKE2b-256 | c1a62524ebcfb6504ba2bbd0d019ed87eb7dd5627c65d4143328f5d9b49d3975 |