Skip to content

Instantly share code, notes, and snippets.

@mbtools
Created March 14, 2024 10:13
Show Gist options
  • Save mbtools/f87414014ae9c78f6f87e94a36ea7483 to your computer and use it in GitHub Desktop.
Save mbtools/f87414014ae9c78f6f87e94a36ea7483 to your computer and use it in GitHub Desktop.
Test of HASH algorithm in abapGit
REPORT ztest_abapgit_hash.
PARAMETERS url TYPE string LOWER CASE.
DATA(raw) = zcl_abapgit_convert=>string_to_xstring_utf8( url ).
DATA(hash) = zcl_abapgit_hash=>sha1_raw( raw ).
WRITE:
/ url,
/ raw,
/ hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment