Question Incorporate Sha256 with Base64

rberkers

Registered User.
Local time
Today, 17:22
Joined
Sep 16, 2008
Messages
14
Hi everybody,

For an Access 2007 application we are in the need hashing some values before storing.

I found a good class for Sha256 that work great. Now there is the requirement that the hashed value is also encoded with Base64 (for which I found also a very nice module).

But the result of Sha256 is in HEX and the Base64 expects an array of bytes. Anyone experience with converting a HEX-string to an array of bytes?

Thanks in advance.
Rob.
 
Should work
Code:
Dim b() As Byte
b = "AnyStringValueHere"
 

Users who are viewing this thread

Back
Top Bottom