ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to calculate Checksum SHA256

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to calculate Checksum SHA256

    I am currently working on an iSeries OS version V5R4M000. Is there a way to calculate the SHA-256 checksum for a file in the IFS?

    Some examples I have found include the following commands:
    CALL QP2TERM
    echo "Hello World" | openssl sha1

    Or to calculate the hash of a stream file in the IFS, you can use the following syntax:
    openssl sha1 < /xxx/yyy/mystream.file

    However, I don't see any support for SHA-256.
    And by the way... how can I perform a search in the forums? It seems like basic functionality but I don't see the option.
Working...
X