示例#1
0
 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
示例#2
0
文件: addr.py 项目: mmgen/mmgen
	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