continued reorganisation
This commit is contained in:
parent
6f8a7322f2
commit
0a2d9a5694
22 changed files with 190 additions and 61 deletions
13
bcrypter/debug/constants.py
Normal file
13
bcrypter/debug/constants.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'''
|
||||
This file provides various methods for determining
|
||||
properties, connections, etc for bcrypt's constants.
|
||||
'''
|
||||
|
||||
from math import gcd
|
||||
|
||||
from bcrypt.hash.rev import H, K, M
|
||||
|
||||
def disint_gcds() -> None:
|
||||
print(f'gcd(H,K): {gcd(H,K)}')
|
||||
print(f'gcd(H,M): {gcd(H,M)}')
|
||||
print(f'gcd(K,M): {gcd(K,M)}')
|
||||
Loading…
Add table
Add a link
Reference in a new issue