瀏覽代碼

创建商品订单

kobe6258 5 月之前
父節點
當前提交
8f098f1b6f
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      common/utils/auth/rsa_utils.go

+ 0 - 4
common/utils/auth/rsa_utils.go

@@ -40,10 +40,6 @@ func DecryptWithRSA(privateKey *rsa.PrivateKey, encrypted string) ([]byte, error
 		}
 		plaintext = append(plaintext, decryptedChunk...)
 	}
-	//hash, err := rsa.DecryptPKCS1v15(rand.Reader, privateKey, encKey)
-	//if err != nil {
-	//	return nil, err
-	//}
 	return plaintext, nil
 }