Package org.metricshub.winrm.light
Class EncryptionUtils
java.lang.Object
org.metricshub.winrm.light.EncryptionUtils
Code from io.cloudsoft.winrm4j.client.encryption.WinrmEncryptionUtils
release 0.12.3 @link https://github.com/cloudsoft/winrm4j
-
Method Summary
Modifier and TypeMethodDescriptionstatic Cipherarc4(byte[] key) static byte[]calculateRC4(byte[] value, byte[] key) Calculates RC4static MessageDigestgetMD5()static byte[]hmacMd5(byte[] key, byte[] body) static byte[]md5digest(byte[] bytes)
-
Method Details
-
getMD5
-
md5digest
public static byte[] md5digest(byte[] bytes) -
arc4
-
calculateRC4
public static byte[] calculateRC4(byte[] value, byte[] key) Calculates RC4 -
hmacMd5
public static byte[] hmacMd5(byte[] key, byte[] body)
-