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