KEY sample file
key_sample_file_1MB.key
1.0 MB
application/pgp-keys
SHA256 verified
File details
Filename
key_sample_file_1MB.keySize1.0 MB (1048576 bytes)
MIME type
application/pgp-keysExtension
.keySHA256
3a51e40d85dd56756626f4ccd47c7f8662236ff6beb0e632ad51d53490d9ec2dDownload commands
Use in scripts and tests
curl -L -o key_sample_file_1MB.key \
https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/
wget -O key_sample_file_1MB.key \
https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/
import requests
url = "https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/"
resp = requests.get(url)
with open("key_sample_file_1MB.key", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("key_sample_file_1MB.key", buf);
# Download and verify SHA256
curl -L -o key_sample_file_1MB.key https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/
echo "3a51e40d85dd56756626f4ccd47c7f8662236ff6beb0e632ad51d53490d9ec2d key_sample_file_1MB.key" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/certificate/key/key_sample_file_1MB.key/").content
assert hashlib.sha256(data).hexdigest() == "3a51e40d85dd56756626f4ccd47c7f8662236ff6beb0e632ad51d53490d9ec2d"
More KEY files
Other KEY Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
key_encrypted_private_key_sample.key |
1.8 KB | 3393e2f9dd60d568… |
Download |
key_rsa_private_key_sample.key |
1.7 KB | 2357e54a834c7d85… |
Download |
key_sample_file_200KB.key |
200.0 KB | f8a697ec6a31cd84… |
Download |
key_sample_file_500KB.key |
500.0 KB | 36b87a69e420233b… |
Download |
key_sample_file_50KB.key |
50.0 KB | 2dc32f9c9030e999… |
Download |