Browse all forums dedicated to the Rocket MultiValue product family.
Recently active
Hello! I try to build a subrouting that will be used by an I-DESC. Its goal is to encrypt another attribute, using SHA256. The DICT item will be used in CSV exports, to transmit data to partners. They want some columns to be encrypted (it would be too easy to encrypt the whole file I guess). That is why I want to combine a subroutine with an I-DESC.Okay, so I already wrote my subroutine but I am not sure about the result. Maybe someone here already did something similar, and/or maybe someone could help me to find the right way to reach my goal.My subroutine is simple: I use DIGEST (beacuse it was the only function that seems to know pure SHA256), and after, I encode the result as BASE64-OneLine, to make it human-readable. MY.HASH = "SHA256" MY.STRING = "HELLO" DIGEST.STATUS = DIGEST(MY.HASH, MY.STRING, 1, MY.DIGEST) FINAL.STRING = "" ENCODE.STATUS = ENCODE("BASE64A", 1, MY.DIGEST, 1, FINAL.STRING, 1) The result of the subroutine, fo
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.