.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-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos