Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Beware when using Uncrypt() decoding base64

$
0
0
I found a small problem that need to watch-out when decoding base64 using Uncrypt()

ResultString = Uncrypt(EncryptedString, "", cryptNone)

if you use these code in WD (windows) without "encodeBASE64" in parameter . it can still decode base64 . but it may decode extra stuff for you.

if your base64 string contain padding (==) at the end , without "encodeBASE64" , Uncrypt() will also decode the padding , you will endup extra 0F FF .

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>