public override byte[] Finish() { byte[] array = core.HashFinal(); if (outputSizeInBytes != array.Length) { byte[] array2 = new byte[outputSizeInBytes]; Array.Copy(array, array2, array2.Length); return(array2); } return(array); }
public override byte[] Finish() { var fullResult = core.HashFinal(); if (outputSizeInBytes != fullResult.Length) { var result = new byte[outputSizeInBytes]; Array.Copy(fullResult, result, result.Length); return(result); } else { return(fullResult); } }