.IDEAS.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-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos