This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from hashlib import blake2b | |
import bitcoin.base58 as base58 #dependency: pip install python-bitcoinlib | |
import string | |
import random | |
import binascii | |
def create_raid(Pk, fqdn, prefix): | |
s = fqdn if fqdn else "NO_FQDN" | |
#Creat hash object |