CryptoSys API Library Manual

unpadHexString

Strips PKCS5 padding from a hex string [DEPRECATED].

Syntax

[VBA]
Public Function unpadHexString ( _
    strInputHex As String, _
    nBlockLen As Long _
) As String

Parameters

strInputHex
Hexadecimal-encoded padded data.
nBlockLen
Cipher block length in bytes (8 or 16).

Return Value

String: Unpadded data in hex string or unchanged data on error.

Remarks

An error is indicated by returning the original data which will always be longer than the expected unpadded result.

Deprecated

Use padUnpadHex.
[PREV: rngNonceHex...]   [Contents]   [Index]   
   [NEXT: wipeBytes...]

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