Re: HMAC (SHA1) key longer than 81 characters not possible?
If you look at the wikipedia page I referenced earlier, you will see it shows: function hmac (key, message) if (length(key) > blocksize) then key = hash(key) // keys longer than blocksize...
View ArticleHMAC (SHA1) key longer than 81 characters not possible?
Not sure whether I'm in the correct forum... To sign a message for a specific application with HMAC-SHA1 hash I need a 83 character key. My problem: the function module 'SET_HMAC_KEY' throws the...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Note that the functions are not released and encapsulate a kernel-function to write the key into the SecureStorage area - there will be no publicly available information on these as far as I am aware...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Hi Julius,I'm using 'CALCULATE_HMAC_FOR_CHAR' to sign messages (OAuth) and it works great until the encryption key is less than 82 chars.Since the documentation for the function group SECH is rolled...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Ahh.. I'm on 7.01 SP 6... Thanks for the info though! I will ping someone for you to take a look into this import parameter option. Is it not mentioned in the documentation? Cheers,Julius
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Hi, that number 81 seems completly random to me. 81 characters (bytes) is 648 bits. Here is a quote from [RFC 2104 - HMAC: Keyed-Hashing for Message...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Hi Martin, So I would suggest that to use SHA-1 functin to reduce any key longer than 64 bytes to 64 bytes and then to pass a new key to SET_HMAC_KEY.Unfortunatelly I cannot cut the key. The...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Hi, yes, we can :-). Let say that SAP implementation supports a key with size more than 81 bytes. Then according to specification if the key is longer than block size of hash function (64 bytes for...
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
Martin, BIIIINGO -> that's it!!!Great, thank you very much, you saved my day. Take a beer on my bill Uwe
View ArticleRe: HMAC (SHA1) key longer than 81 characters not possible?
I'm on 7.01 SP 6 me too But you can find the docu here: http://www.consolut.net/s/sap-ides-zugriff/d/e/doc/E-SET_HMAC_KEY (German only)Parameter length limits are not mentioned. (Danke für Deine...
View Article