Tagged articles
Base64
39 articles · Page 1 of 1
This tutorial extends a LangChain 1.0 multimodal RAG project by adding end‑to‑end image analysis and audio transcription features using Qwen3‑Omni, detailing data structures, utility classes, API changes, and Postman testing procedures.
Audio TranscriptionBase64FastAPI
0 likes · 19 min read

This guide explains the fundamentals of SSL/TLS, why transport‑layer encryption is used, and provides step‑by‑step Linux OpenSSL commands for symmetric and asymmetric encryption, decryption, hashing, password generation, random data creation, and Base64 encoding, complete with examples and key options.
Base64LinuxOpenSSL
0 likes · 11 min read

This article explains the relationships between bits, binary, hexadecimal, bytes and strings, shows how computers store and process data using binary, demonstrates hexadecimal and Base64 encodings, provides conversion tables and examples, and clarifies how UTF‑8 encodes characters.
Base64UTF-8binary
0 likes · 13 min read

This article provides a comprehensive guide to the Blob and File objects, their methods such as slice, text, arrayBuffer, and stream, explains Base64 encoding, demonstrates how to use URL.createObjectURL for previews, and introduces ArrayBuffer, TypedArray, and DataView for low‑level binary data handling in web development.
ArrayBufferBLOBBase64
0 likes · 23 min read

This article presents a collection of Java techniques—including Random, SecureRandom with Base64, ThreadLocalRandom, Collections.shuffle, third‑party libraries like Apache Commons and Guava, custom character sets, template‑based generation, and regex validation—to create secure random passwords with configurable length and complexity.
Base64GuavaJava
0 likes · 15 min read

Several Stage‑3 TC39 proposals—including Error.isError for reliable error type checks, RegExp.escape for safe regex construction, Uint8Array methods for base64/hex conversion, and Temporal.TimeZone.prototype.equals for canonical time‑zone comparison—aim to enhance JavaScript’s core capabilities across browsers and Node.js.
Base64JavaScriptTC39
0 likes · 8 min read

These recent ECMAScript proposals—Error.isError for reliable error type checking, RegExp.escape to safely escape user‑provided strings, Uint8Array methods for seamless Base64 and hex conversions, and Temporal.TimeZone.prototype.equals for robust time‑zone comparison—aim to simplify development across browsers and Node.js by addressing long‑standing inconsistencies.
Base64ECMAScript proposalsJavaScript
0 likes · 8 min read

This article explains how the frontend can upload files to the backend using base64 or binary Blob transmission, introduces key JavaScript objects such as files, Blob, FormData, and FileReader, and provides practical code examples for validation, preview, chunked uploading, progress tracking, and resumable uploads with hash verification.
Base64File UploadFormData
0 likes · 10 min read

This guide demonstrates a quick and straightforward way to decode Base64 strings in PHP by installing the Cloudmersive SDK via Composer and using its API, including full code examples and the required JSON request format for seamless integration.
Base64Cloudmersive
0 likes · 3 min read

This guide explains how to install, configure, and use the Tinywan/Storage PHP library for uploading files to local storage or various cloud providers, covering basic usage, response fields, validation rules, Base64 image uploads, and server‑side file uploads.
Base64File UploadPHP
0 likes · 7 min read

The article explains how Elasticsearch stored scripts can be created and invoked within ingestion pipelines to decode Base64 and hexadecimal data, showing reusable Painless scripts, pipeline configuration, and the advantages of modular, maintainable transformations without inline code duplication.
Base64ElasticsearchElasticsearch Pipeline
0 likes · 8 min read

The article explains that JavaScript’s native btoa() and atob() functions only handle ASCII, so to correctly base64‑encode Unicode strings you must convert them with TextEncoder to UTF‑8 bytes, use Uint8Array, and decode with TextDecoder, while checking for malformed surrogate pairs via isWellFormed or encodeURIComponent to avoid silent data loss.
Base64JavaScriptTextDecoder
0 likes · 14 min read

This article explains PHP's various encryption techniques—including one‑way hashes (MD5, sha1, hash, crypt), reversible encodings (URL encoding, Base64), and the modern Password Hashing API—providing usage examples, code snippets, and best‑practice recommendations for secure password handling.
Base64Securityencryption
0 likes · 9 min read

This guide explains the characteristics of Base64 strings, Blob objects, and File objects in web development, shows how to detect each type in JavaScript, and provides conversion functions to transform between Base64, Blob, and File formats.
BLOBBase64Conversion
0 likes · 5 min read

This article explains the challenges of uploading very large files in web applications and presents several front‑end solutions—including traditional form uploads, Base64 encoding, binary FormData uploads, iframe tricks, and chunked (slice) uploads—accompanied by complete PHP server‑side examples and reusable code snippets.
Base64File UploadFormData
0 likes · 10 min read

This article introduces the fundamentals of the Base64 encoding algorithm, explains its role in reverse‑engineering and security scenarios, details the encoding and decoding processes, and provides complete Java and native C++ implementations with code examples for Android development.
AlgorithmAndroidBase64
0 likes · 21 min read

This article walks through a real‑world Python encoding problem where Unicode \u sequences cause garbled Chinese text, demonstrates the faulty code, and provides a corrected solution using json.dumps with ensure_ascii=False and GBK encoding to produce proper Base64 output.
Base64GBKJSON
0 likes · 4 min read

This article explains how to use a Python script that continuously pings an external address and automatically logs into a campus web authentication portal via HTTP POST when the connection drops, ensuring the computer stays online for remote access, and provides the full source code and setup instructions.
Base64Campus WiFiHTTP POST
0 likes · 4 min read

This article explains what JSON Web Tokens are, how they are composed of a header, payload, and signature, demonstrates creating and encoding each part with Base64 and Node.js, and discusses the security purpose of signatures and appropriate use cases for JWTs in web applications.
Base64JWTNode.js
0 likes · 8 min read

This article explains the lightweight JWT specification, demonstrates how to build a token with header, payload, and signature using Base64 encoding and Node.js, and discusses its security properties, verification process, and suitable use cases for web authentication.
AuthenticationBase64JWT
0 likes · 9 min read

This article explains the lightweight JWT specification, walks through its three-part structure (header, payload, signature), shows how to encode and sign a token with Node.js, and demonstrates using a JWT‑based link to perform a friend‑request operation without requiring the recipient to log in.
AuthenticationBase64JWT
0 likes · 8 min read

This article introduces common encryption methods—including Base64, MD5, SHA‑1, HMAC, DES, AES, and RSA—explains their principles, and provides complete Python code examples for encoding, decoding, and key handling, enabling readers to implement secure data transformations in their own projects.
AESBase64MD5
0 likes · 12 min read

This article explains RSA asymmetric encryption, key pair generation, encryption/decryption limits, digital signing and verification, and provides a full Python implementation using PyCryptodome, complete with code snippets, base64 handling, and practical usage tips.
Base64PyCryptodomeRSA
0 likes · 14 min read

This guide explains what Base64 encoding is, why it’s needed for transmitting binary data as text, and provides step‑by‑step command‑line examples for encoding and decoding strings, files, and user input with practical Bash scripts.
Base64Linuxdecoding
0 likes · 8 min read

This article explains PHP's chunk_split() function, detailing its purpose of dividing a string into fixed-size pieces, describing its parameters (body, chunklen, end), return value, and providing a practical example that formats base64‑encoded data according to RFC 2045.
BackendBase64chunk_split
0 likes · 2 min read

The article shows how a Vue login page can request a SpringBoot endpoint that creates a four‑character captcha image, encodes it as a Base64 data URL, returns it together with a UUID, stores the code in Redis with a two‑minute expiration, and validates the UUID during login.
AuthenticationBase64CAPTCHA
0 likes · 3 min read

The article describes how a news‑list page became sluggish due to large base64‑encoded images stored in the database, details the investigation using Chrome dev tools and SQL queries, and presents a step‑by‑step solution that moves images to a FastDFS file server and updates the content references.
APIBase64SQL
0 likes · 5 min read

This article explains what a Blob is, introduces the Blob Web API with its constructor, properties, and methods, and demonstrates practical scenarios such as chunked uploads, downloading data, creating Blob URLs, converting to Base64, image compression, PDF generation, and compares Blob with ArrayBuffer, providing complete code examples for each use case.
BLOBBase64File
0 likes · 20 min read

This article explains how to hide real intentions behind visible actions by using text obfuscation and custom Base64‑like encoding to defeat standard web scrapers, detailing the underlying principles, decoding challenges, and Python implementations of a flexible Custom64 encoder.
Base64Pythonanti-scraping
0 likes · 10 min read

This article introduces the REST architectural style, explains its advantages over traditional web approaches, and walks through a practical workflow that collects images, encodes them in base64, repeatedly calls a REST endpoint for face‑recognition results, and analyzes the returned JSON to evaluate algorithm performance.
Base64RESTWeb Services
0 likes · 4 min read

This article provides a comprehensive Java tutorial for accessing Baidu's OCR service, covering prerequisite setup, Maven dependencies, token acquisition, image-to‑Base64 conversion, HTTP request construction, and performance observations for Chinese, English, and mixed‑language image recognition.
APIBaidu OCRBase64
0 likes · 9 min read

This article summarizes practical backend techniques for storing associative arrays in MySQL using PHP serialization or JSON, sending reliable SMTP emails with PHPMailer, handling Outlook HTML and image display issues, and generating charts with the pChart library, providing code examples and configuration tips.
BackendBase64PHP
0 likes · 9 min read

This article explains the origin, alphabet, step‑by‑step conversion process, padding rules, and provides a Java example to illustrate how Base64 encodes binary data into printable characters, highlighting why the output is about one‑third larger than the input.
AlgorithmBase64Binary-to-Text
0 likes · 8 min read

This article explains the JSON Web Token (JWT) format, its three-part structure, how to encode a payload and header with Base64, sign the token using HS256, and apply the resulting JWT to a friend‑request scenario that works without requiring the recipient to log in.
Base64JSON Web TokenJWT
0 likes · 8 min read

This article walks through extracting the hidden ID from Battle of Balls' short share URL, decoding the base64 parameters, and using the revealed ID to request dragon eggs (or lollipops) automatically with a Python script.
Base64Python automationURL decoding
0 likes · 4 min read


Aotu LabMar 9, 2016 · Frontend Development
This article examines the trade‑offs of converting image resources to Base64 and embedding them directly in HTML or CSS, measuring load and render times with the Navigation Timing API across desktop and mobile browsers, and presents real‑world test results.
Base64navigation timing
0 likes · 4 min read


21CTOFeb 21, 2016 · Fundamentals
This article explains the fundamentals of Base64 and Base64‑URL encoding, shows PHP functions for encoding and decoding, illustrates the encoding process with examples, and explores practical applications such as data URLs, MIME email attachments, and common pitfalls to avoid.
Base64Data URLsPHP
0 likes · 11 min read

This article explains the principles of Base64 encoding, provides PHP implementations for URL-safe variants, illustrates how binary data is transformed into text, and discusses common use cases such as data URLs and MIME while warning against misuse for security purposes.
Base64Data Transmissionencoding
0 likes · 10 min read

Embedding images as base64‑encoded Data URIs can dramatically cut the number of HTTP requests, improving page performance, though it enlarges the HTML size—a trade‑off that can be softened with gzip compression and is best suited for frequently used static assets.
Base64data URIfrontend performance
0 likes · 2 min read
