bytes = random.sample(xrange(0, 256), 32)
# Base64 encode their string representation
node['key'] = base64.b64encode("".join(map(chr, bytes)))
bytes = random.sample(xrange(0, 256), 32)
# Base64 encode their string representation
node['key'] = base64.b64encode("".join(map(chr, bytes)))