code: def compute_single_hash(path: Path) -> str:
      digest = f"openssl dgst -sha384 -binary {path}".split()
      p1 = Popen(digest, stdout=PIPE)
  
      b64 = "openssl base64 -A".split()
      p2 = Popen(b64, stdin=p1.stdout, stdout=PIPE)
  
      out, _ = p2.communicate()
      return out.decode("utf-8").strip()
  
imports: import json
  import re
  import sys
  from pathlib import Path
  from subprocess import PIPE, Popen
label_desc: Use image node_id 1 for calling a global function with example usage: compute_single_hash(path) and returns: out