Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

[Enhancement] Update Crypt methods #310

Closed
lpeyr opened this issue Apr 2, 2022 · 0 comments · Fixed by #316
Closed

[Enhancement] Update Crypt methods #310

lpeyr opened this issue Apr 2, 2022 · 0 comments · Fixed by #316
Assignees
Labels
enhancement New feature or request roadmap Feature of the roadmap vNext Issues planed for the next version

Comments

@lpeyr
Copy link
Member

lpeyr commented Apr 2, 2022

Enhancement

Update Crypt methods to the new .NET 6 standards by using the Create() method instead of creating a service provider class.

Other informations

-using (TripleDESCryptoServiceProvider tripleDESCryptoService = new TripleDESCryptoServiceProvider())
-{
-	using (MD5CryptoServiceProviderhashMD5Provider = new MD5CryptoServiceProvider()) // Create MD5CryptoServiceProvider

+using (var tripleDESCryptoService = TripleDES.Create())
+{
+	using (var hashMD5Provider = MD5.Create()) // Create MD5CryptoServiceProvider
@lpeyr lpeyr added enhancement New feature or request vNext Issues planed for the next version roadmap Feature of the roadmap labels Apr 2, 2022
@lpeyr lpeyr self-assigned this Apr 2, 2022
lpeyr added a commit that referenced this issue Apr 3, 2022
lpeyr added a commit that referenced this issue Apr 3, 2022
lpeyr added a commit that referenced this issue Apr 3, 2022
@lpeyr lpeyr linked a pull request Apr 9, 2022 that will close this issue
@lpeyr lpeyr closed this as completed in #316 Apr 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request roadmap Feature of the roadmap vNext Issues planed for the next version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant