PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
XCODE 12 WORDS / 12 Palavras = String to BufferToPhrase = Exemplo de ENCODE e DECODE
XCODE 12 WORDS / 12 Palavras = String to BufferToPhrase = Exemplo de ENCODE e DECODE
Started by Boller, Jan., 18 2022 9:38 PM - No answer
Connect yourself…
Boller
#1
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on January, 18 2022 - 9:38 PM
BOA TARDE,
Exemplo de ENCODE e DECODE
//ENCODE
//String to BufferToPhrase
// Encode
MyBuffer is Buffer
=
Encode
(
"teste"
,
encodeBASE64
)
Trace
(
BufferToPhrase
(
MyBuffer
,
languageEnglish
)
// contains "gold deny ozone silk inspire ozone"
E
//Decode
//String to BufferToPhrase
sPhraseEN is string = "gold deny ozone silk inspire ozone"
MyBuffer is Buffer = (BufferToHexa(PhraseToBuffer(sPhraseEN)))
sText is Buffer = HexaToBuffer(MyBuffer)
Trace (Decode(sText, encodeBASE64))
//contains "teste"
BY JOSÉ WILLEM
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text