CryptoSys API
Library Manual
VBA Wrapper Function List
aeadAddAAD
- Add a chunk of additional authenticated data (in incremental mode).
aeadDecryptWithTag
- Decrypt data using specified AEAD algorithm in one-off operation.
aeadDestroy
- Close the AEAD context and destroy the key (in incremental mode).
aeadEncryptWithTag
- Encrypt data using specified AEAD algorithm in one-off operation.
aeadFinishDecrypt
- Finish the authenticated decryption (in incremental mode).
aeadFinishEncrypt
- Finish the authenticated encryption (in incremental mode).
aeadInitKey
- Initialize the AEAD context with the key and algorithm ready for repeated incremental operations.
aeadSetNonce
- Set the nonce for the AEAD context (in incremental mode).
aeadStartDecrypt
- Start authenticated decryption (in incremental mode).
aeadStartEncrypt
- Start authenticated encryption (in incremental mode).
aeadUpdate
- Encrypts or decrypts a chunk of input (in incremental mode).
apiCompileTime
- Gets date and time the CryptoSys DLL module was last compiled.
apiErrorCode
- Returns the error code of the error that occurred when calling the last function.
apiErrorLookup
- Retrieves the error message associated with a given error code.
apiLicenceType
- Returns the ASCII value of the licence type.
apiModuleInfo
- Get additional information about the core DLL module.
apiModuleName
- Retrieves the name of the current process's module.
apiPlatform
- Get platform the core DLL was compiled for.
apiVersion
- Get version number of native core DLL.
blfBytesBlock
- Encrypt or decrypt a block of data using Blowfish algorithm.
cipherDecryptBytes
- Decrypts data in a byte array using the specified block cipher algorithm, mode and padding.
cipherDecryptHex
- Decrypt hex-encoded data using the specified block cipher algorithm, mode and padding.
cipherEncryptBytes
- Encrypts data in a byte array using the specified block cipher algorithm, mode and padding.
cipherEncryptHex
- Encrypt hex-encoded data using the specified block cipher algorithm, mode and padding.
cipherFileDecrypt
- Decrypt a file with block cipher.
cipherFileEncrypt
- Encrypt a file with block cipher.
cipherFinal
- Closes and clears the CIPHER context.
cipherInit
- Initializes the CIPHER context with the key, algorithm and mode ready for repeated incremental operations.
cipherInitHex
- Initializes the CIPHER context with hex-encoded key, algorithm and mode ready for repeated incremental operations.
cipherKeyUnwrap
- Unwraps (decrypts) key material with a key-encryption key.
cipherKeyWrap
- Wraps (encrypts) key material with a key-encryption key.
cipherStreamBytes
- Encipher data in array of bytes using specified stream cipher.
cipherStreamFile
- Encipher data in a file using specified stream cipher.
cipherStreamFinal
- Close the CIPHERSTREAM context and destroy the key.
cipherStreamHex
- Encipher data in a hex-encoded string using specified stream cipher.
cipherStreamInit
- Initialize the CIPHERSTREAM context ready for repeated operations of
cipherStreamUpdate
- Encrypt input using current CIPHERSTREAM context (in incremental mode).
cipherUpdate
- Encrypts or decrypts a chunk of input (in incremental mode).
cipherUpdateHex
- Encrypts or decrypts a chunk of hex-encoded input (in incremental mode).
cnvB64Filter
- Strips any invalid base64 characters from a string.
cnvB64StrFromBytes
- Encodes an array of bytes as a base64-encoded string.
cnvB64StrFromHexStr
- Re-encodes a hexadecimal-encoded binary value as base64.
cnvB64StrFromString
- Encodes an ANSI string as a base64-encoded string.
cnvBytesFromB64Str
- Decodes a base64-encoded string as an array of Bytes.
cnvBytesFromHexStr
- Decodes a hexadecimal-encoded string as an array of Bytes.
cnvBytesLen
- Find length of byte array.
cnvBytesMid
- Return a substring of bytes of specified length from within a given byte array
cnvFromBase64
- Decodes a base64-encoded string as an array of bytes.
cnvFromHex
- Decodes a hexadecimal-encoded string as an array of bytes.
cnvHexFilter
- Strips any invalid hex characters from a hex string.
cnvHexFromBytesMid
- Encodes a substring of an array of bytes as a hexadecimal-encoded string.
cnvHexStrFromB64Str
- Re-encodes a base64-encoded binary value as hexadecimal.
cnvHexStrFromBytes
- Encodes an array of bytes as a hexadecimal-encoded string.
cnvHexStrFromString
- Encodes an ANSI string as a hexadecimal-encoded string.
cnvStringFromHexStr
- Decodes a hexadecimal-encoded string as an ANSI string.
cnvToBase64
- Encodes an array of bytes as a base64-encoded string.
cnvToHex
- Encodes an array of bytes as a hexadecimal-encoded string.
comprCompress
- Compress data using compression algorithm.
comprUncompress
- Uncompress data using compression algorithm.
crcBytes
- Compute the CRC-32 checksum of an array of bytes.
crcFile
- Compute the CRC-32 checksum of a file.
crcString
- Compute the CRC-32 checksum of an ANSI string.
errFormatErrorMessage
- Return an error message string for the last error.
hashAddBytes
- Add an array of bytes to be digested.
hashAddString
- Add a string to be digested.
hashBytes
- Compute hash digest in byte format of byte input.
hashFile
- Compute hash digest in byte format of a file.
hashFinal
- Return the final message digest value.
hashHexFromBits
- Compute hash digest in hex format from bit-oriented input.
hashHexFromBytes
- Compute hash digest in hex format of byte input.
hashHexFromFile
- Compute hash digest in hex format of a file.
hashHexFromHex
- Compute hash digest in hex-encoded format from hex-encoded input.
hashHexFromString
- Compute hash digest in hex-encoded format from hex-encoded input.
hashInit
- Initialise the HASH context ready for incremental operations.
hashLength
- Return length of message digest output in bytes.
macAddBytes
- Adds an array of bytes to be authenticated.
macAddString
- Adds a string to be authenticated.
macBytes
- Computes a keyed MAC in byte format from byte input.
macFinal
- Returns the final MAC value.
macHexFromBytes
- Computes a keyed MAC in hex-encoded format from byte input.
macHexFromHex
- Computes a keyed MAC in hex-encoded format from hex-encoded input.
macInit
- Initialises the MAC context ready to receive data to authenticate.
padBytesBlock
- Creates an input block suitably padded for encryption by a block cipher in ECB or CBC mode.
padHexBlock
- Creates a hex-encoded input block suitably padded for encryption by a block cipher in ECB or CBC mode.
padHexString
- Add PKCS5 padding to a hex string up to next multiple of block length [DEPRECATED].
padUnpadBytes
- Removes the padding from an encryption block.
padUnpadHex
- Removes the padding from a hex-encoded encryption block.
pbeKdf2
- Derives a key of any length from a password using the PBKDF2 algorithm from PKCS#5 v2.1.
pbeKdf2Hex
- Derives a hex-encoded key of any length from a password using the PBKDF2 algorithm from PKCS#5 v2.1.
pbeScrypt
- Derives a key of any length from a password using the SCRYPT algorithm from RFC7914.
pbeScryptHex
- Derives a hex-encoded key of any length from a password using the SCRYPT algorithm from RFC7914.
prfBytes
- Generate output bytes using a pseudorandom function (PRF).
rngInitialize
- Initialize the RNG generator using a seed file.
rngInitializeEx
- Query and initialize the RNG generator using Intel(R) DRNG, if available.
rngKeyBytes
- Generate a random key value.
rngKeyHex
- Generate a random key in hex format.
rngNonce
- Generate a random nonce.
rngNonceHex
- Generate a hex-encoded sequence of bytes.
unpadHexString
- Strips PKCS5 padding from a hex string [DEPRECATED].
wipeBytes
- Zeroise data in memory.
wipeFile
- Securely wipes and deletes a file using 7-pass DOD standards.
wipeString
- Zeroise a string.
xofBytes
- Generate bytes using an extendable-output function (XOF).
zlibDeflate
- Compress data using the ZLIB deflate algorithm.
zlibInflate
- Inflate compressed data using the ZLIB algorithm.
[
PREV: VBA Wrapper Functions...
] [
Contents
] [
Index
]
[
NEXT: aeadAddAAD...
]