<PackageReference Include="System.IO.Hashing" Version="10.0.0-preview.2.25163.2" />

BitOperations

static class BitOperations
using System.Runtime.CompilerServices; namespace System.Numerics { internal static class BitOperations { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static uint RotateLeft(uint value, int offset) { return (value << offset) | (value >> 32 - offset); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ulong RotateLeft(ulong value, int offset) { return (value << offset) | (value >> 64 - offset); } } }