def encrypt(self, desc='new key list'): from mmgen.crypto import mmgen_encrypt self.fmt_data = mmgen_encrypt(self.fmt_data.encode('utf8'), desc, '') self.ext += '.' + g.mmenc_ext
def encrypt(self,desc='new key list'): from mmgen.crypto import mmgen_encrypt self.fmt_data = mmgen_encrypt(self.fmt_data.encode(),desc,'') self.ext += '.'+g.mmenc_ext