CryptoSys PKI Pro Manual

xofBytes

Generate bytes using an eXtendable-Output Function (XOF).

Syntax

[VBA]
Public Function xofBytes ( _
    nBytes As Long, _
    lpMessage() As Byte, _
    nOptions As Long _
) As Byte()

Parameters

nBytes
Required number of output bytes.
lpMessage
Input message data.
nOptions
XOF algorithm to be used. Select one from:
PKI_XOF_SHAKE128
PKI_XOF_SHAKE256
PKI_XOF_MGF1_SHA1
PKI_XOF_MGF1_SHA256
PKI_XOF_MGF1_SHA512

Return Value

Byte(): Output data in byte array.

Remarks

The SHAKE128 and SHAKE256 XOF functions are described in NIST.FIPS.202. MGF1 is described in PKCS#1/RFC2437.

[Contents] [Index]

[PREV: x509TextDumpToString...]   [Contents]   [Index]   
   [NEXT: C++ (STL) Functions...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.