- Jun 6, 2020
- 11,559
- 4,422
I need (paid) assistance to convert the following C# code written in Visual Studio to B4J.
This routine creates an SHA-1 hash, based on the filenames and contents on a small number of files located within a specified directory, with the exclusion of one particular file called ConfigKeys.json. I need to create this as part of a migration from Visual Studio to B4J. In order to match the code at the "other end", the method used in this C# code to make the SHA-1 hash must match, however I don't understand the use of TransformBlock and TransformFinalBlock as they apply to the iterative Hashing process.
Original C# code:
This routine creates an SHA-1 hash, based on the filenames and contents on a small number of files located within a specified directory, with the exclusion of one particular file called ConfigKeys.json. I need to create this as part of a migration from Visual Studio to B4J. In order to match the code at the "other end", the method used in this C# code to make the SHA-1 hash must match, however I don't understand the use of TransformBlock and TransformFinalBlock as they apply to the iterative Hashing process.
Original C# code:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید