CryptoSys PKI Pro Manual

wipeBytes

Wipe a byte array securely.

Syntax

[VBA]
Public Function wipeBytes ( _
    ByRef lpToWipe() As Byte _
) As Byte()

Parameters

lpToWipe
Byte array to be wiped.

Return Value

Byte(): An empty byte array.

Example

Dim lpData() As Byte
lpData = cnvFromHex("DEADBEEF")
Debug.Print "BEFORE: 0x(" & cnvToHex(lpData) & ")" ' BEFORE: 0x(DEADBEEF)
Call wipeBytes(lpData)
Debug.Print "AFTER: 0x(" & cnvToHex(lpData) & ")" ' AFTER: 0x()
[PREV: smimeQuery...]   [Contents]   [Index]   
   [NEXT: wipeString...]

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