mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Implement sending messages using unidentified sender
This commit is contained in:
parent
d7f7c84e6c
commit
a6562b3b7b
4 changed files with 170 additions and 11 deletions
|
@ -30,6 +30,10 @@ class KeyUtils {
|
|||
return getSecretBytes(16);
|
||||
}
|
||||
|
||||
static byte[] createUnrestrictedUnidentifiedAccess() {
|
||||
return getSecretBytes(16);
|
||||
}
|
||||
|
||||
private static String getSecret(int size) {
|
||||
byte[] secret = getSecretBytes(size);
|
||||
return Base64.encodeBytes(secret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue