Python 身份证正则匹配后加密 // 完整代码 #身份证md5加密 def _add111(matched)->str: intStr = matched.group().replace("|","") a = str