.AixLib.Utilities.Cryptographics.sha

Information

This function takes a String input and, using an external function written in C, outputs its SHA1 encryption. The input string can be of any length, though the output will always be 40 hexadecimal characters.

Interface

pure function sha
  extends Modelica.Icons.Function;
  input String str "String to be encrypted";
  output String sha1 "SHA1-encrypted string";
end sha;

Revisions


Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos