Tag

Base64

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2024 · Frontend Development

Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development

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.

ArrayBufferBase64DataView
0 likes · 23 min read
Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 25, 2024 · Frontend Development

Frontend and Backend Interaction Methods for File Upload, Object APIs, and Large File Handling

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.

Base64Chunked UploadFile Upload
0 likes · 10 min read
Frontend and Backend Interaction Methods for File Upload, Object APIs, and Large File Handling
php中文网 Courses
php中文网 Courses
Apr 7, 2024 · Backend Development

Quick and Easy PHP Method to Decode Base64 Strings Using Cloudmersive API

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.

APIBase64Cloudmersive
0 likes · 3 min read
Quick and Easy PHP Method to Decode Base64 Strings Using Cloudmersive API
Sohu Tech Products
Sohu Tech Products
Jan 10, 2024 · Big Data

Using Stored Scripts in Elasticsearch Ingestion Pipelines for Base64 and Hex Decoding

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.

Base64Data ProcessingElasticsearch
0 likes · 8 min read
Using Stored Scripts in Elasticsearch Ingestion Pipelines for Base64 and Hex Decoding
Sohu Tech Products
Sohu Tech Products
Dec 6, 2023 · Frontend Development

The Nuances of Base64 Encoding Strings in JavaScript

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
The Nuances of Base64 Encoding Strings in JavaScript
Laravel Tech Community
Laravel Tech Community
Apr 3, 2023 · Information Security

PHP Encryption Methods: MD5, crypt, sha1, URL Encoding, Base64, hash, and Password Hashing API

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.

Base64HashingPHP
0 likes · 9 min read
PHP Encryption Methods: MD5, crypt, sha1, URL Encoding, Base64, hash, and Password Hashing API
php中文网 Courses
php中文网 Courses
Mar 16, 2023 · Frontend Development

Identifying and Converting Between Base64, Blob, and File in JavaScript

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.

Base64JavaScriptblob
0 likes · 5 min read
Identifying and Converting Between Base64, Blob, and File in JavaScript
Laravel Tech Community
Laravel Tech Community
Feb 8, 2023 · Frontend Development

Large File Upload Techniques and Implementation with Chunked Upload, Base64 Encoding, and FormData

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.

Base64Chunked UploadFile Upload
0 likes · 10 min read
Large File Upload Techniques and Implementation with Chunked Upload, Base64 Encoding, and FormData
Top Architect
Top Architect
Jan 1, 2023 · Information Security

Base64 Algorithm Basics, Encoding/Decoding Principles and Java & C++ Implementations

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.

AndroidBase64C++
0 likes · 21 min read
Base64 Algorithm Basics, Encoding/Decoding Principles and Java & C++ Implementations
Python Programming Learning Circle
Python Programming Learning Circle
Jun 16, 2022 · Backend Development

Python Script to Keep Campus Network Connection Alive

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
Python Script to Keep Campus Network Connection Alive
IT Architects Alliance
IT Architects Alliance
Apr 5, 2022 · Information Security

Understanding JSON Web Tokens (JWT): Structure, Creation, and Usage

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
Understanding JSON Web Tokens (JWT): Structure, Creation, and Usage
Top Architect
Top Architect
Apr 5, 2022 · Information Security

Understanding JSON Web Token (JWT): Structure, Creation, and Signature

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.

Base64JWTNode.js
0 likes · 9 min read
Understanding JSON Web Token (JWT): Structure, Creation, and Signature
Architect's Guide
Architect's Guide
Mar 27, 2022 · Information Security

Understanding JSON Web Tokens (JWT): Structure, Creation, and Practical Use

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.

Base64JWTNode.js
0 likes · 8 min read
Understanding JSON Web Tokens (JWT): Structure, Creation, and Practical Use
Laravel Tech Community
Laravel Tech Community
Sep 5, 2020 · Backend Development

Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks

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.

Base64PHPbackend
0 likes · 2 min read
Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 18, 2020 · Backend Development

Resolving Slow News List Page Performance Caused by Base64 Image Storage

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.

APIBase64Performance
0 likes · 5 min read
Resolving Slow News List Page Performance Caused by Base64 Image Storage
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Frontend Development

Understanding and Using the Blob Web API in JavaScript

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.

Base64JavaScriptPDF
0 likes · 20 min read
Understanding and Using the Blob Web API in JavaScript
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Information Security

Designing Anti‑Scraping Techniques Using Custom Base64 Encoding

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.

Base64PythonWeb Security
0 likes · 10 min read
Designing Anti‑Scraping Techniques Using Custom Base64 Encoding
360 Quality & Efficiency
360 Quality & Efficiency
Jan 30, 2019 · Backend Development

A Simple Understanding of REST with a Face‑Recognition API Example

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.

APIBackend DevelopmentBase64
0 likes · 4 min read
A Simple Understanding of REST with a Face‑Recognition API Example
Java Captain
Java Captain
Sep 26, 2018 · Artificial Intelligence

Step-by-Step Guide to Using Baidu OCR API with Java

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
Step-by-Step Guide to Using Baidu OCR API with Java
360 Quality & Efficiency
360 Quality & Efficiency
Aug 24, 2018 · Backend Development

Backend Development Solutions for MySQL Data Storage, SMTP Email, Outlook Compatibility, and pChart Image Generation

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.

Base64EmailMySQL
0 likes · 9 min read
Backend Development Solutions for MySQL Data Storage, SMTP Email, Outlook Compatibility, and pChart Image Generation