argon2
index
/tmp/makerelease-pwman-python.grjbw8ep/pwman-python-2.10/libpwman/argon2.py

Argon2 wrapper
# Copyright (c) 2023 Michael Büsch <m@bues.ch>
# Licensed under the GNU/GPL version 2 or later.

 
Modules
       
gc
os

 
Classes
       
builtins.object
Argon2

 
class Argon2(builtins.object)
    Abstraction layer for the Argon2 implementation.
 
  Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
argon2id_v1p3(self, passphrase, salt, timeCost, memCost, parallel, keyLen)
Run Argon2id v1.3.
passphrase: The passphrase bytes.
salt: The salt bytes.
timeCost: The time cost, in number of iterations.
memCost: The memory cost, in number of kiB.
parallel: The number of parallel threads.
keyLen: The number of bytes to return.

Class methods defined here:
get() from builtins.type
Get the Argon2 singleton.
quickSelfTest() from builtins.type
Run a quick algorithm self test.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
DEBUG = False

 
Data
        __all__ = ['Argon2']