SHA1 Hash Generator avatar
SHA1 Hash Generator

Pricing

from $0.01 / 1,000 results

Go to Apify Store
SHA1 Hash Generator

SHA1 Hash Generator

From $0.1/1k requests. Generate SHA1 hashes from text or files instantly. Perfect for data integrity checks, file fingerprinting, deduplication, and version control. Batch process multiple items in one run. Supports text strings and any file URL. Fast, reliable, and cost-effective hashing solution.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Rixin Sc

Rixin Sc

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Generate SHA1 hashes from text strings or files. Fast, reliable, and easy to use for data integrity verification and fingerprinting.

What does SHA1 Hash Generator do?

SHA1 Hash Generator creates SHA1 cryptographic hashes from your input data. You can hash plain text strings or files from any URL. The actor processes multiple items in a single run and outputs the hash for each item.

  • Text Hashing: Hash any plain text string directly
  • File Hashing: Hash files from any URL (direct download links)
  • Batch Processing: Process multiple items in a single run
  • Detailed Output: Get hash, input size, and processing timestamp for each item

Use Cases

  • Data Integrity: Verify file integrity by comparing SHA1 checksums
  • Version Control: Git uses SHA1 for commit identification
  • Deduplication: Identify duplicate content by comparing hashes
  • File Fingerprinting: Create unique identifiers for files
  • Content Verification: Ensure data hasn't been modified

Input

FieldTypeRequiredDescription
textInputsarrayNoList of text strings to hash
fileUrlsarrayNoList of file URLs to download and hash (supports advanced HTTP options)

Example Input (Simple)

{
"textInputs": ["Hello World", "Another string to hash"],
"fileUrls": [
{ "url": "https://example.com/file.txt" }
]
}

Advanced File URL Options

The fileUrls field supports full HTTP request configuration for each URL:

PropertyTypeRequiredDescription
urlstringYesThe URL to fetch
methodstringNoHTTP method (GET, POST, PUT, etc.). Default: GET
headersobjectNoCustom HTTP headers to send with the request
payloadstringNoRequest body for POST/PUT requests
userDataobjectNoCustom data passed through for your reference

Example Input (Advanced)

{
"textInputs": ["Hello World"],
"fileUrls": [
{ "url": "https://example.com/public-file.txt" },
{
"url": "https://api.example.com/protected-file",
"method": "GET",
"headers": {
"Authorization": "Bearer your-token-here",
"X-Custom-Header": "custom-value"
}
},
{
"url": "https://api.example.com/generate-data",
"method": "POST",
"payload": "{\"format\": \"json\"}",
"headers": {
"Content-Type": "application/json"
}
}
]
}

Output

Each processed item produces a dataset record with:

FieldDescription
inputThe original input (text preview or file URL)
inputTypeType of input: "text" or "file"
sha1HashThe 40-character SHA1 hash in lowercase hex
inputSizeBytesSize of input data in bytes
processedAtISO timestamp of when hash was generated
errorError message if processing failed, null otherwise

Example Output

{
"input": "Hello World",
"inputType": "text",
"sha1Hash": "0a4d55a8d778e5022fab701977c5d840bbc486d0",
"inputSizeBytes": 11,
"processedAt": "2024-01-15T10:30:00.000Z",
"error": null
}

Pricing

This actor uses pay-per-event pricing:

EventPriceDescription
Text Processed$0.0001Charged for each text string hashed
File Processed$0.0002Charged for each file fetched and hashed

Example costs:

  • 1,000 text items: $0.10
  • 1,000 file items: $0.20
  • Mixed 500 text + 500 files: $0.15

Integrations

Works with all Apify integrations:

  • Apify API: Trigger runs programmatically
  • Webhooks: Get notified when runs complete
  • Zapier/Make: Connect with automation workflows

FAQ

Q: Is SHA1 secure for passwords? A: No, SHA1 is not recommended for password hashing or cryptographic security. Use it for checksums and data integrity only.

Q: What's the maximum file size? A: Files are limited by available memory. The actor uses 128-256 MB, supporting files up to ~200 MB.

Q: Can I hash files from any URL? A: Yes! Any publicly accessible URL is supported. The file will be downloaded and hashed.

Q: What format is the hash output? A: Hashes are returned as 40-character lowercase hexadecimal strings.