Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-14713

Add SHA256 Encryption to STD library

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ECL Standard Library
    • Labels:
      None

      Description

      In an effort to standardize UT/C++ attributes we think we don't have any replacement for this in ECL. please add SHA256 to STD library.
      Below is the source code and the attribute is InsurView_BI_Common.sha256Encrypt on Alpha dev environment. Thanks

      Data32 SHA256(STRING val) := BEGINC++
      extern "C" unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md);
      #body
      SHA256((const unsigned char *)val,lenVal, (unsigned char *)__result);
      ENDC++;

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              kayttaax Ayeesha Kayttala
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: