def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def __init__(self, key):
        self.bs = 32
        self.key = hashlib.sha256(key.encode()).digest()