java.lang.Object
it.auties.whatsapp.util.KeyHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
agent()
static byte[]
appKeyId()
static byte[]
deviceId()
static int
header()
static byte[]
static String
phoneId()
static int
static byte[]
static int
static 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() -
phoneId
-
senderKey
public static byte[] senderKey() -
senderKeyId
public static int senderKeyId() -
agent
public static int agent() -
appKeyId
public static byte[] appKeyId()
-