Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Argon2.GetBytes Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 7.0.9147)

GetBytes(Int32)

Derives bytes (a hash) using Argon2 algorithm.

Declaration
public override byte[] GetBytes(int cb)
Parameters
Type Name Description
Int32 cb

Number of bytes to be derived. The number of bytes must be at least 4. Parameter 'T' from Argon2 specification.

Returns
Type Description
Byte[]

A byte array with derived bytes (a hash).

Overrides
DeriveBytes.GetBytes(Int32)
Exceptions
Type Condition
ArgumentOutOfRangeException

The cb is less than 4.

In This Article
  • GetBytes(Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies