1 write to HashLengthInBytes
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (1)
43
HashLengthInBytes
= hashLengthInBytes;
23 references to HashLengthInBytes
Microsoft.AspNetCore.Razor.Utilities.Shared (23)
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (23)
69
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
75
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
188
byte[] ret = new byte[
HashLengthInBytes
];
207
if (destination.Length <
HashLengthInBytes
)
213
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
214
bytesWritten =
HashLengthInBytes
;
225
/// which is always <see cref="
HashLengthInBytes
"/>.
228
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
232
if (destination.Length <
HashLengthInBytes
)
237
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
238
return
HashLengthInBytes
;
249
byte[] ret = new byte[
HashLengthInBytes
];
269
if (destination.Length <
HashLengthInBytes
)
275
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
276
bytesWritten =
HashLengthInBytes
;
287
/// which is always <see cref="
HashLengthInBytes
"/>.
290
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
294
if (destination.Length <
HashLengthInBytes
)
299
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
300
return
HashLengthInBytes
;
311
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
317
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
328
Debug.Assert(destination.Length ==
HashLengthInBytes
);