-
Notifications
You must be signed in to change notification settings - Fork 0
MaxHavrishuk/Hata
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Set it up in the Package manager console, when the issue "roslyn/could not found path" appears Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r ABBYY Sha 256 getPassword https://help.abbyy.com/en-us/flexicapture/12/developer/createuser public static string GetPasswordHashWithSalt( string login, string password ) { string salt = GetPasswordSha256Hash(login.ToUpper()); return GetPasswordSha256Hash(password + salt); } private static string GetPasswordSha256Hash( string password ) { Encoding enc = Encoding.GetEncoding("UTF-16"); byte[] buffer = enc.GetBytes(password); var cryptoTransformSHA256 = new SHA256CryptoServiceProvider(); string hash = BitConverter.ToString(cryptoTransformSHA256.ComputeHash(buffer)).Replace("-", ""); return hash; }
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published