Dim raf As RandomAccessFile
Dim SignString As StringBuilder
Dim Su As StringUtils
Dim Encoded As String
SignString.Initialize()
raf.Initialize(File.DirRootExternal & "/" & Loader.FolderName, "image.jpg", True)
For i = 0 To raf.Size - 1
SignString.Append(Chr(raf.ReadUnsignedByte(i)))
Next
Encoded = Su.EncodeBase64(SignString.ToString.GetBytes("UTF8"))
Log(Encoded)