[JSch-users] **IMP** Regarding HMAC-SHA2-512
Status: Alpha
Brought to you by:
ymnk
From: Mohamed F. N <md...@gm...> - 2019-11-12 19:49:44
|
Hi Team, We are from HCL-Cisco team. Recently we got a request to support the HMAC-SHA2-256 and HMAC-SHA2-512 stronger algorithms. At present, we are using the “jcraft.jar” of version:0.1.53 and downloaded the latest “0.1.55” also. In that jar, particularly – com.jcraft.jsch.JSch.java found the below lines are commented out, // The "hmac-sha2-512" will require the key-length 2048 for DH, // but Sun's JCE has not allowed to use such a long key. //config.put("hmac-sha2-512", "com.jcraft.jsch.jce.HMACSHA512"); Why this algorithm is not yet supported? But still I am able to see the file named com.jcraft.jsch.jce.HMACSHA512. Is this algorithm not fully implemented/handled with Parent Class“HMAC.java”? Suggest if any alternate way to support SHA2-512 algorithm ? And also I would like to know the list of all types of MAC algorithms support in Java till date. Thanks in Advance ! Regards, Mohamed Faleh N |