Base URL
https://mockly.me

Returns a hash of the given text using MD5, SHA1, SHA256, or SHA512.

https://mockly.me/hash/hello

Parameters

NameTypeDescription
textstringPath — text to hash
algorithmstringQuery param — md5, sha1, sha256, sha512 (default sha256)

Example Response

{
  "original": "hello",
  "algorithm": "sha256",
  "hashed": "2cf24dba..."
}

XOR-obfuscates text with a key and returns base64-encoded result.

https://mockly.me/xor?data=abc&key=k

Parameters

NameTypeDescription
datastringQuery param — text to encode
keystringQuery param — non-empty encryption key

Example Response

{
  "original": "abc",
  "key": "k",
  "encoded": "base64..."
}

Generates a mock JWT with header, payload, and expiration info.

https://mockly.me/jwt

Example Response

{
  "token": "eyJ...",
  "header": {
    "alg": "HS256"
  },
  "payload": {
    "sub": "user-1234"
  }
}

Returns a random value of the specified type.

https://mockly.me/random?type=name

Parameters

NameTypeDescription
typestringQuery param — number, name, emoji, or string

Example Response

{
  "type": "number",
  "value": 42
}

Returns a random color with hex, RGB, name, and accessibility info.

https://mockly.me/color

Example Response

{
  "hex": "#3b82f6",
  "rgb": "rgb(59,130,246)",
  "name": "Blue",
  "accessibility": {
    "luminance": 0.45
  }
}

Evaluates password strength and returns a score with feedback.

https://mockly.me/password/strength?password=MyStr0ng!Pass

Parameters

NameTypeDescription
passwordstringQuery param — password to evaluate

Example Response

{
  "score": 7,
  "strength": "strong",
  "feedback": [
    "✓ Contains uppercase letters"
  ]
}

Generates an HMAC signature for data authentication.

https://mockly.me/hmac?data=message&key=secret

Parameters

NameTypeDescription
datastringQuery param — data to sign
keystringQuery param — secret key (auto-generated if omitted)
algorithmstringQuery param — sha1, sha256, sha512

Example Response

{
  "data": "message",
  "algorithm": "sha256",
  "signature": "abc123..."
}

Returns a mock SSL certificate with realistic fields for testing parsers.

https://mockly.me/ssl/certificate

Example Response

{
  "version": 3,
  "serial_number": "a1b2...",
  "issuer": {
    "common_name": "Mock CA"
  }
}