CryptoSys API Library Manual

cipherKeyWrap

Wraps (encrypts) key material with a key-encryption key.

Syntax

[VBA]
Public Function cipherKeyWrap ( _
    lpData() As Byte, _
    lpKek() As Byte, _
    nOptions As Long _
) As Byte()

Parameters

lpData
Key material to be wrapped.
lpKek
Key encryption key.
nOptions
Algorithm to be used. Select one from:
API_BC_AES128
API_BC_AES192
API_BC_AES256
API_BC_3DES

Return Value

Byte(): Wrapped key (or empty array on error).
[PREV: cipherKeyUnwrap...]   [Contents]   [Index]   
   [NEXT: cipherStreamBytes...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.