HmacTCompute(Byte, Byte, Int32, Int32) Method
Computes an HMAC using the specified secret key, input data, and a specified range within the input data.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] Compute(
byte[] key,
byte[] data,
int position,
int length
)
Public Shared Function Compute (
key As Byte(),
data As Byte(),
position As Integer,
length As Integer
) As Byte()
public:
static array<unsigned char>^ Compute(
array<unsigned char>^ key,
array<unsigned char>^ data,
int position,
int length
)
SnapDB.Security.Hmac.Compute = function(key, data, position, length);
- key Byte
- The secret key for the HMAC computation.
- data Byte
- The input data to compute the HMAC over.
- position Int32
- The starting position in the input data.
- length Int32
- The length of the input data to include in the HMAC computation.
ByteThe computed HMAC as a byte array.