pypush-plus-plus/generatenac.py

6 lines
No EOL
132 B
Python

from base64 import b64encode
import emulated.nac
vd = emulated.nac.generate_validation_data()
vd = b64encode(vd).decode()
print(vd)