Skip to content

🔐 Data Encoder - Encoding and Hashing Utilities

Encode, decode, and hash data with multiple formats and algorithms.

Data Encoder provides a comprehensive suite of encoding, decoding, and hashing utilities for developers, supporting multiple formats and cryptographic hash algorithms.


🌟 Features

  • Base64 Encoding/Decoding - Standard Base64 operations
  • URL Encoding/Decoding - Percent-encoding for URLs
  • HTML Entity Encoding/Decoding - Escape/unescape HTML entities
  • Hash Generation - MD5, SHA1, SHA256, SHA512
  • UUID Generation - Generate UUID v4 identifiers
  • Random String Generation - Cryptographically secure random strings
  • Hex Encoding/Decoding - Hexadecimal conversion
  • Binary Encoding - Binary string representation

🚀 Getting Started

Endpoint

https://apis.novasuite.one/web/data-encoder

Base64 Encoding (GET)

curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=base64&operation=encode"

Hash Generation (GET)

curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=hash"

UUID Generation (GET)

curl "https://apis.novasuite.one/web/data-encoder?type=uuid"

Advanced Operations (POST)

curl -X POST https://apis.novasuite.one/web/data-encoder \
  -H "Content-Type: application/json" \
  -d '{
    "text": "hello world",
    "type": "base64",
    "operation": "encode"
  }'

📊 Response Format

Base64 Encode Response

{
  "service": "NovaAPIs Data Encoder",
  "timestamp": "2025-11-22T12:00:00.000Z",
  "results": {
    "input": "hello",
    "output": "aGVsbG8=",
    "type": "base64",
    "operation": "encode"
  }
}

Hash Generation Response

{
  "service": "NovaAPIs Data Encoder",
  "timestamp": "2025-11-22T12:00:00.000Z",
  "results": {
    "input": "hello",
    "hashes": {
      "md5": "5d41402abc4b2a76b9719d911017c592",
      "sha1": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d",
      "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
      "sha512": "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043"
    },
    "type": "hash"
  }
}

UUID Generation Response

{
  "service": "NovaAPIs Data Encoder",
  "timestamp": "2025-11-22T12:00:00.000Z",
  "results": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "type": "uuid",
    "version": "v4"
  }
}

Random String Response

{
  "service": "NovaAPIs Data Encoder",
  "timestamp": "2025-11-22T12:00:00.000Z",
  "results": {
    "randomString": "a7f3k9m2p5q8r1t4",
    "length": 16,
    "type": "random",
    "charset": "alphanumeric"
  }
}

🎯 Supported Operations

Base64

Encode:

curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=base64&operation=encode"

Decode:

curl "https://apis.novasuite.one/web/data-encoder?text=aGVsbG8=&type=base64&operation=decode"

URL Encoding

Encode:

curl "https://apis.novasuite.one/web/data-encoder?text=hello world&type=url&operation=encode"

Decode:

curl "https://apis.novasuite.one/web/data-encoder?text=hello%20world&type=url&operation=decode"

HTML Entities

Encode:

curl "https://apis.novasuite.one/web/data-encoder?text=<div>&type=html&operation=encode"

Decode:

curl "https://apis.novasuite.one/web/data-encoder?text=&lt;div&gt;&type=html&operation=decode"

Hash Generation

All Hashes:

curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=hash"

Specific Algorithm:

curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=hash&algorithm=sha256"

UUID Generation

curl "https://apis.novasuite.one/web/data-encoder?type=uuid"

Random String

Default (16 characters, alphanumeric):

curl "https://apis.novasuite.one/web/data-encoder?type=random"

Custom Length:

curl "https://apis.novasuite.one/web/data-encoder?type=random&length=32"

Custom Charset:

curl "https://apis.novasuite.one/web/data-encoder?type=random&length=16&charset=hex"


📚 Code Examples

JavaScript/Node.js

// Base64 Encode
async function base64Encode(text) {
  const response = await fetch(
    `https://apis.novasuite.one/web/data-encoder?text=${encodeURIComponent(text)}&type=base64&operation=encode`
  );
  const data = await response.json();
  return data.results.output;
}

// Generate Hash
async function generateHash(text) {
  const response = await fetch(
    `https://apis.novasuite.one/web/data-encoder?text=${encodeURIComponent(text)}&type=hash`
  );
  const data = await response.json();
  return data.results.hashes;
}

// Generate UUID
async function generateUUID() {
  const response = await fetch(
    'https://apis.novasuite.one/web/data-encoder?type=uuid'
  );
  const data = await response.json();
  return data.results.uuid;
}

// Usage
const encoded = await base64Encode('hello');
const hashes = await generateHash('password123');
const uuid = await generateUUID();

console.log('Encoded:', encoded);
console.log('SHA256:', hashes.sha256);
console.log('UUID:', uuid);

Python

import requests

def base64_encode(text):
    response = requests.get(
        'https://apis.novasuite.one/web/data-encoder',
        params={'text': text, 'type': 'base64', 'operation': 'encode'}
    )
    data = response.json()
    return data['results']['output']

def generate_hash(text):
    response = requests.get(
        'https://apis.novasuite.one/web/data-encoder',
        params={'text': text, 'type': 'hash'}
    )
    data = response.json()
    return data['results']['hashes']

def generate_uuid():
    response = requests.get(
        'https://apis.novasuite.one/web/data-encoder',
        params={'type': 'uuid'}
    )
    data = response.json()
    return data['results']['uuid']

# Usage
encoded = base64_encode('hello')
hashes = generate_hash('password123')
uuid = generate_uuid()

print(f"Encoded: {encoded}")
print(f"SHA256: {hashes['sha256']}")
print(f"UUID: {uuid}")

cURL Examples

# Base64 encode
curl "https://apis.novasuite.one/web/data-encoder?text=hello&type=base64&operation=encode" \
  | jq '.results.output'

# Generate all hashes
curl "https://apis.novasuite.one/web/data-encoder?text=password&type=hash" \
  | jq '.results.hashes'

# Generate UUID
curl "https://apis.novasuite.one/web/data-encoder?type=uuid" \
  | jq '.results.uuid'

# Generate random string
curl "https://apis.novasuite.one/web/data-encoder?type=random&length=32" \
  | jq '.results.randomString'

# URL encode
curl "https://apis.novasuite.one/web/data-encoder?text=hello world&type=url&operation=encode" \
  | jq '.results.output'

📖 API Reference

GET /web/data-encoder

Query Parameters:

Parameter Type Required Description
text string Conditional Text to encode/decode/hash (required for most operations)
type string Yes Operation type: base64, url, html, hash, uuid, random, hex
operation string Conditional encode or decode (required for base64, url, html, hex)
algorithm string No Hash algorithm: md5, sha1, sha256, sha512 (for hash type)
length number No Length of random string (default: 16)
charset string No Character set for random: alphanumeric, hex, alpha, numeric

Response: Encoded/decoded/hashed data

POST /web/data-encoder

Body:

{
  "text": "string",          // Text to process
  "type": "string",          // Operation type
  "operation": "string",     // encode/decode
  "algorithm": "string",     // Hash algorithm (optional)
  "length": 16,              // Random string length (optional)
  "charset": "string"        // Random charset (optional)
}

Response: Processed data based on operation type


🔍 Operation Types

Encoding/Decoding

Type Description Operations
base64 Base64 encoding/decoding encode, decode
url URL percent-encoding encode, decode
html HTML entity encoding encode, decode
hex Hexadecimal encoding encode, decode

Generation

Type Description Parameters
hash Generate cryptographic hashes algorithm (optional)
uuid Generate UUID v4 None
random Generate random string length, charset

🔒 Security Notes

Hash Usage

MD5 and SHA1 are not cryptographically secure for password hashing. Use them only for checksums and non-security purposes. For password hashing, use bcrypt, scrypt, or Argon2 on your server.

Random Strings

Random strings are generated using cryptographically secure methods suitable for tokens and identifiers.


🔒 Privacy & Data

  • No data storage - All operations are performed in real-time
  • No logging - Input data is never logged or stored
  • Privacy-first - Your data is processed and immediately discarded
  • CORS enabled - Use from any domain

⚡ Rate Limits

Free Tier: 100 requests per hour per IP

Rate limit information is included in response headers:

  • X-RateLimit-Limit - Maximum requests allowed
  • X-RateLimit-Remaining - Requests remaining in current window
  • X-RateLimit-Reset - Unix timestamp when limit resets

💡 Use Cases

  • Data Encoding - Encode data for transmission or storage
  • URL Sanitization - Properly encode URLs and query parameters
  • HTML Escaping - Prevent XSS by encoding user input
  • Checksum Generation - Verify file integrity with hashes
  • Unique Identifiers - Generate UUIDs for database records
  • Token Generation - Create secure random tokens
  • API Development - Test encoding/decoding in your applications

🐛 Support

For questions or support inquiries, please contact us at api@novasuite.one.