Skip to content

Class: Hash

A representation of a cryptographic digest generated over a resource using a specified hash algorithm.

URI: [oscal:Hash](https://w3id.org/lmodel/oscal/Hash)
 classDiagram
    class Hash
    click Hash href "../Hash/"
      Hash : algorithm

      Hash : value

## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [value](value.md) | 1
[String](String.md) | The value associated with the containing object | direct | | [algorithm](algorithm.md) | 1
[String](String.md) or 
[HashAlgorithmEnum](HashAlgorithmEnum.md) | The digest method by which a hash is derived | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [ResourceLink](ResourceLink.md) | [hashes](hashes.md) | range | [Hash](Hash.md) | ## In Subsets * [OscalMetadata](OscalMetadata.md) ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/lmodel/oscal ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | oscal:Hash | | native | oscal:Hash | ## LinkML Source ### Direct
name: Hash
description: A representation of a cryptographic digest generated over a resource
  using a specified hash algorithm.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slots:
- value
- algorithm
slot_usage:
  value:
    name: value
    required: true
  algorithm:
    name: algorithm
    required: true
### Induced
name: Hash
description: A representation of a cryptographic digest generated over a resource
  using a specified hash algorithm.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slot_usage:
  value:
    name: value
    required: true
  algorithm:
    name: algorithm
    required: true
attributes:
  value:
    name: value
    description: The value associated with the containing object.
    from_schema: https://w3id.org/lmodel/oscal
    rank: 1000
    owner: Hash
    domain_of:
    - Hash
    - Property
    - Base64Resource
    - Facet
    range: string
    required: true
  algorithm:
    name: algorithm
    description: The digest method by which a hash is derived. Recommended values
      are in HashAlgorithmEnum; other values are permitted (OSCAL allow-other="yes").
    from_schema: https://w3id.org/lmodel/oscal
    rank: 1000
    owner: Hash
    domain_of:
    - Hash
    range: string
    required: true
    any_of:
    - range: HashAlgorithmEnum
    - range: string