Requirements#

Hash Requirements
status: draft
security: NO
safety: ASIL_B
tags: requirements, hash
version: 1
Hash Library
status: valid
security: NO
safety: ASIL_B
tags: baselibs_hash
bazel_target: ["@@score_baselibs+//score/hash:hash","@@score_baselibs+//score/hash:safe_hash","@@score_baselibs+//score/hash/code/core/factory/impl:factory_headers"]
bazel_type: ["cc_library","cc_library","cc_library"]
version: 1
coverage: lines 100% · branches 88% · files 21/28

Functional Requirements#

Hash Computation from Byte Data
status: valid
security: YES
safety: ASIL_B

The hash library shall compute a hash value over a contiguous byte sequence supplied by the caller, accumulating state across one or more data inputs and producing the final digest upon finalization.

Hash Value Retrieval as Raw Bytes
status: valid
security: YES
safety: ASIL_B

The hash library shall expose the computed hash value as a raw byte sequence.

Hash Value Retrieval as Hexadecimal String
status: valid
security: YES
safety: ASIL_B

The hash library shall expose the computed hash value as a hexadecimal string representation.