[crypto.fingerprint]

crypto.fingerprint is a slot in the crypto namespace, in Hyperlambda, the language of Magic Cloud. Returns a SHA256 fingerprint of the input, formatted as colon-separated hex; useful for identifying public keys.

  • Value (fingerprint-source), required: Base64 encoded content or raw byte[] content to fingerprint
  • Returns: Resolves to the SHA256 hash of the supplied content formatted as a fingerprint

JSON declaration

This is the complete declaration of crypto.fingerprint, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "crypto.fingerprint",
  "description": "Returns a SHA256 fingerprint of the input, formatted as colon-separated hex; useful for identifying public keys",
  "signature": {
    "input": {
      "kind": "fingerprint-source",
      "description": "Base64 encoded content or raw byte[] content to fingerprint",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "fingerprint,text",
      "description": "Resolves to the SHA256 hash of the supplied content formatted as a fingerprint"
    }
  }
}

← crypto.encrypt all crypto.* slots crypto.get-key →