encoding & sha-1
Posted: Mon Apr 08, 2019 10:07 pm
Hello all,
I need the following operations executed on a string on the order:
result = base64(sha-1(utf8bytes(my_string)
up to now I have discovered through LANSA RDML Extended Library the following:
FromBase64String, AsBase64String and
AsStringUsingUTF8, FromStringUsingUTF8 within type XPRIM_Binary which presumably correspond to base64 and utf8bytes respectively.
but what about sha-1?
In LANSA RDML Extended Library there is only XPRIM_Crypto_Hash which supports sha-256 but not sha-1.
Does Lansa somehow support sha-1 hash cryptographic function?
best,
Sotiris
I need the following operations executed on a string on the order:
result = base64(sha-1(utf8bytes(my_string)
up to now I have discovered through LANSA RDML Extended Library the following:
FromBase64String, AsBase64String and
AsStringUsingUTF8, FromStringUsingUTF8 within type XPRIM_Binary which presumably correspond to base64 and utf8bytes respectively.
but what about sha-1?
In LANSA RDML Extended Library there is only XPRIM_Crypto_Hash which supports sha-256 but not sha-1.
Does Lansa somehow support sha-1 hash cryptographic function?
best,
Sotiris