× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Also, I notice in the code that the person who wrote it is using the builtins for the various MI functions - for the most part - the prototypes where the name has an underscore at the beginning of the name, such as _CIPHER. This is for performance reasons - these are the most direct way to call MI functions.

Also, when you look at MI documentation, there is a programming guide for the MI functions that are available in C++ - if CIPHER is in there, there should be a code example in C++, not terribly hard to convert to RPGLE - I don't know which type it would use, but if you are lucky it could be SHA-256.

Cheers
Vern

On 8/17/2018 8:58 AM, p.caroti@xxxxxxxx wrote:
Hi all

I'm looking for an example how to calculate Hash using SHA-256 . be patient
for my request : this should be run on V5R2m0 (it would be possible)

I found this old link
https://www.experts-exchange.com/questions/20502110/Need-to-call-MD5-algorit
hm-from-RPGLE.html, but i don't know how to (if possible) adapt to SHA-256

Thanks in in advance




---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.