14 lines
305 B
Python
14 lines
305 B
Python
|
|
'''
|
||
|
|
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)}')
|