Object documentation: Base64 B4A Library Base64 and Encryption library - agraham    Apr 11, 2016   (16 reactions)   tags: Security, Lib Here's a library that, for the moment, can perform Base64 encoding and decoding and symmetric algorithm encryption and decryption. Tested symmetric algorithms are DES, Triple DES and AES (Rijndael).
As the Java encryption rountines are all byte array oriented you will need my ByteConverter library to run the demo.
EDIT :- Version 1.1 posted. Asymmetric algorithms, Signing and MACs now... B4A Library [B4X] Library Base64 encode/decode Image and File library - MarcoRome    Apr 18, 2021   (31 reactions) From an idea of the Great Peter ( https://www.b4x.com/android/forum/threads/base64-encode-decode-image-library.31031/ ) "...in attached the library for decoding base64 image stings, so... B4A Library Base64 encode/decode image library - Peter Simpson    Oct 8, 2018   (16 reactions)   tags: Base64, B4A I noticed the other day that there were quite a few questions regarding decoding base64 image stings, so I quickly put together this simple but effective base64 encode/decode images library for... Base64Con As Base64Convert
To get an encoded base64 data stream, and return it as an bitmap ready to load... B4R Code Snippet Base64 decoding - Erel    Sep 8, 2019   (8 reactions) = DecodeBase64(Result, "RGVjb2RpbmcgQmFzZTY0IHN0cmluZyB3aXRoIEI0UiEhIQ==") Dim bc As ByteConverter... the length of the decoded data Sub DecodeBase64(Result() As Byte, Text() As Byte) As UInt Dim rawlength... + 1 Loop four(i) = GetBase64Index(Text(si)) Next Result(ri) = Bit... Loop Return length End Sub Sub GetBase64Index(u As Int) As Int If u = 43 Then Return 63... B4R Tutorial ESP32: AES256 encrypted & Base64 encoded post message to and from PHP - KMatle    Feb 6, 2023   (1 reaction) Example: - AES256 encrypt a message with IV and Salt - Base64 encode it - send a http post request to a php script - decrypt in php - send back a AES256 encrypted and Base64 encoded message to... $encrypt_method = "AES-256-CBC"; $total=base64_decode($string); $id=substr($total, 0, 8); $salt=substr($total, 8, 32); $iv=substr($total, 40, 16); $string=Base64_Encode(substr..., $encrypt_method, $pw, 0,$IV); $enc=Base64_encode($id.$Salt.$IV.Base64_decode($enc... B4R Code Snippet Base64 en-/decode via inline C - KMatle    Jan 31, 2022   (3 reactions) (255) As Byte
Public b64decoded_len As ULong
Add to your code and call the Base64 sub
Sub Base64... Sub
#if c
#include "mbedtls/base64.h"
void Base64Encode (B4R::Object* o... B4A Question How to Encode string in base64 format in B4A ? - junaidahmed    Jun 17, 2023 How to Encode string as base64 format in B4A ?
Example : -
string = Test@123
Encode base64 : VGVzdEAxMjM=... B4A Library Decrypter - De-/Encrypt String to base64 (including compatible php code to de/Encrypt) - DonManfred    Feb 6, 2017   (21 reactions)   tags: encrypt b4x and php (encrypted As String) As String
Decode a encrypted base64 string and return the decrypted string
encrypt (toEncrypt As String) As String
Encrypt a string and give back an encrypted and base64 encoded... B4A Code Snippet Check if a string is Base64 (isBase64) - Douglas Farias    Dec 2, 2018   (12 reactions) Hi all. I found this example in some old folders on my pc and decided to share here. it is a simple code to check if a string is base64 hash. This example use a regex. Sub isBase64(text As String... ' TESTA A STRING CODIFICADA COM BASE64 Log(isBase64("ZG91Z2xhc2Zhcmlhcw==")) '=douglasfarias ' TESTA A STRING COM TEXTO Log(isBase64("Test string"))'=dont is a base64 string The result log is true false Credits: stackoverflow, Douglas Farias and... B4J Code Snippet [XUI] SD Base64 - Encode / Decode - Star-Dust    Jul 19, 2020   (10 reactions)   tags: XUI Base64 Encode Decode Today I was looking for a method for encoding and decoding in Base64.
There are many libraries... java.util.Base64;
public byte decode(byte original) {
byte decoded = Base64.getDecoder().decode... someone else :D
Decode
Public Sub Base64Decode(S As String) As String
Dim base64chars As String...(base64chars.IndexOf(S.CharAt(C)),18) + Bit.ShiftLeft(base64chars.IndexOf(S.CharAt(C+1)),12) + Bit... Page: 1   2   3   4   5   |