Apache Shiro · Schema

HashRequest

Password hashing request

AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

Properties

Name Type Description
password string Plain text password to hash
algorithm string Hash algorithm to use
iterations integer Number of hash iterations
View JSON Schema on GitHub

JSON Schema

apache-shiro-hash-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shiro/refs/heads/main/json-schema/apache-shiro-hash-request-schema.json",
  "title": "HashRequest",
  "description": "Password hashing request",
  "type": "object",
  "properties": {
    "password": {
      "type": "string",
      "description": "Plain text password to hash"
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "MD5",
        "SHA-1",
        "SHA-256",
        "SHA-512",
        "Argon2",
        "bcrypt"
      ],
      "description": "Hash algorithm to use"
    },
    "iterations": {
      "type": "integer",
      "description": "Number of hash iterations"
    }
  },
  "required": [
    "password"
  ]
}