GenerateRandomKey
Public Function GenerateRandomKey(Optional ByVal BlockCount As Long = 1) As String
Creates a new crypto-safe random key.
- BlockCount: The key-length in 'blocks'. Values 1-16. Each block results in 16 characters hex data (64 bit key). A value of 4 can be used for 'long' keys (64 characters, 256 bits).
mSessionKey = GenerateRandomKey(4)
See also: