X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/0dc6b1327e1da6f5707d199f2c35eb18bee9e864..6d016bcfc97c49deb76fa2c3a07ce62aee4ca8d8:/src/main/java/org/asamk/signal/manager/KeyUtils.java diff --git a/src/main/java/org/asamk/signal/manager/KeyUtils.java b/src/main/java/org/asamk/signal/manager/KeyUtils.java index 421a32f4..fff8179c 100644 --- a/src/main/java/org/asamk/signal/manager/KeyUtils.java +++ b/src/main/java/org/asamk/signal/manager/KeyUtils.java @@ -30,6 +30,14 @@ class KeyUtils { return getSecretBytes(16); } + static byte[] createUnrestrictedUnidentifiedAccess() { + return getSecretBytes(16); + } + + static byte[] createStickerUploadKey() { + return getSecretBytes(32); + } + private static String getSecret(int size) { byte[] secret = getSecretBytes(size); return Base64.encodeBytes(secret);