- 40 FlexMeasures assets (10 PV, 10 Bat, 10 Chg, 10 EV) - Geolocated on Martinique - Documentation: architecture, deployment, concepts - Standards: Flex Ready, S2, OpenADR, EPEX SPOT - R&D tools: HAMLET, OPLEM, lemlab - Map patch: Mapbox -> OpenStreetMap
14 lines
333 B
Python
14 lines
333 B
Python
#!/usr/bin/env python3
|
|
"""Generate bcrypt hash for FlexMeasures admin password."""
|
|
import bcrypt
|
|
|
|
password = b"Digitribe972"
|
|
# Generate salt and hash
|
|
salt = bcrypt.gensalt(rounds=12)
|
|
hashed = bcrypt.hashpw(password, salt)
|
|
print(f"Hash: {hashed.decode()}")
|
|
|
|
# Verify
|
|
check = bcrypt.checkpw(password, hashed)
|
|
print(f"Verify: {check}")
|