#!/usr/bin/env python

import os
import seccure

my_key = open("priv.key","r")
my_key = my_key.read()

my_key = str(seccure.passphrase_to_pubkey(b'my_key'))
print my_key

ciphertext = '\x01\xd3\xe1\xf2\x17T \xd0\x8a\xd6\xe2\xbd\x9e\x9e~P(\xf7\xe9\xa5\xc1KT\x9aI\xdd\\!\x95t\xe1\xd6p\xaa"u2\xc2\x85F\x1e\xbc\x00\xb9\x17\x97\xb8\x0b\xc5y\xec<K-gp9\xa0\xcb\xac\x9et\x89z\x13\x15\x94Dn\xeb\x95\x19[\x80\xf1\xa8,\x82G`\xee\xe8C\xc1\x15\xa1~T\x07\xcc{\xbd\xda\xf0\x9e\x1bh\'QU\xe7\x163\xd4F\xcc\xc5\x99w'

print type(ciphertext)

#decoded_str = seccure.decrypt(ciphertext, b'my_key')
#print decoded_str
