java.lang.Object
it.auties.whatsapp.util.KeyHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intagent()static byte[]appKeyId()static byte[]deviceId()static Stringfdid()static intheader()static byte[]static intstatic byte[]static intstatic byte[]withHeader(byte[] key) static byte[]withoutHeader(byte[] key) private static byte[]writeKeyHeader(byte[] key)
-
Field Details
-
SHA_PRNG
- See Also:
-
-
Constructor Details
-
KeyHelper
public KeyHelper()
-
-
Method Details
-
withHeader
public static byte[] withHeader(byte[] key) -
writeKeyHeader
private static byte[] writeKeyHeader(byte[] key) -
withoutHeader
public static byte[] withoutHeader(byte[] key) -
header
public static int header() -
registrationId
public static int registrationId() -
identityId
public static byte[] identityId() -
deviceId
public static byte[] deviceId() -
fdid
-
senderKey
public static byte[] senderKey() -
senderKeyId
public static int senderKeyId() -
agent
public static int agent() -
appKeyId
public static byte[] appKeyId()
-