import hashlib
import pyDHE as dh

tesdh=dh.new()
key=tesdh.getPublicKey()
skey=str(key);
skey=skey.encode()
print(skey)
m = hashlib.sha256()
m.update(skey)
val=m.digest()
print("hashed key",val)

d7d1fbb56b3a0386b2acfd61bb759e283f37cfbd
<mask token>

<mask token>
print(skey)
<mask token>
m.update(skey)
<mask token>
print('hashed key', val)

<mask token>
tesdh = dh.new()
key = tesdh.getPublicKey()
skey = str(key)
skey = skey.encode()
print(skey)
m = hashlib.sha256()
m.update(skey)
val = m.digest()
print('hashed key', val)

import hashlib
import pyDHE as dh
tesdh = dh.new()
key = tesdh.getPublicKey()
skey = str(key)
skey = skey.encode()
print(skey)
m = hashlib.sha256()
m.update(skey)
val = m.digest()
print('hashed key', val)

import hashlib
import pyDHE as dh

tesdh=dh.new()
key=tesdh.getPublicKey()
skey=str(key);
skey=skey.encode()
print(skey)
m = hashlib.sha256()
m.update(skey)
val=m.digest()
print("hashed key",val)
