Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/signalapp/libsignal
/ functions
Functions
8,820 in github.com/signalapp/libsignal
⨍
Functions
8,820
◇
Types & classes
2,843
↓ 8 callers
Method
ct_eq
A constant-time comparison as long as the two keys have a matching type. If the two keys have different types, the comparison short-circuits, much li
rust/core/src/curve.rs:206
↓ 8 callers
Method
decapsulate
( &self, secret_key: &KeyMaterial<Secret>, ciphertext: &[u8], )
rust/protocol/src/kem.rs:159
↓ 8 callers
Method
decompress
Attempts to decompress the endorsement. Produces [`VerificationFailure`] if the compressed storage isn't a valid representation of a point. Deserial
rust/zkcredential/src/endorsements.rs:223
↓ 8 callers
Method
decrypt
(CertificateValidator validator, byte[] ciphertext, long timestamp)
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:182
↓ 8 callers
Method
deref
(&self)
rust/bridge/shared/types/src/crypto.rs:60
↓ 8 callers
Method
deriveFromMasterKey
(GroupMasterKey groupMasterKey)
java/shared/java/org/signal/libsignal/zkgroup/groups/GroupSecretParams.java:35
↓ 8 callers
Method
device_id
(&self)
rust/protocol/src/protocol.rs:931
↓ 8 callers
Function
dummy_identity_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:884
↓ 8 callers
Function
dummy_kem_public_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:894
↓ 8 callers
Function
encode_frame
(frame: proto::Frame)
rust/message-backup/src/json/exporter.rs:222
↓ 8 callers
Method
encryptServiceId
(serviceId: ServiceId)
node/ts/zkgroup/groups/ClientZkGroupCipher.ts:24
↓ 8 callers
Method
execute
( self, kt: &impl UnauthenticatedChatApi, aci_identity_key: &PublicKey, distin
rust/net/chat/src/api/keytrans/monitor_and_search.rs:441
↓ 8 callers
Method
extend
(&mut self, iter: It)
rust/message-backup/src/backup/method.rs:56
↓ 8 callers
Method
finishExport
* Completes the export and runs any final whole-backup validation checks. * * Must be called before [close]. Calling this on a closed exporter t
java/client/src/main/java/org/signal/libsignal/messagebackup/BackupJsonExporter.kt:116
↓ 8 callers
Method
forExpiration
Derives a new key for group send endorsements that expire at {@code expiration}. <p>{@code expiration} must be day-aligned as a protection against fi
java/shared/java/org/signal/libsignal/zkgroup/groupsend/GroupSendDerivedKeyPair.java:41
↓ 8 callers
Function
fromBase64
(base64: string)
node/ts/test/util.ts:103
↓ 8 callers
Method
getConnectionManager
()
java/client/src/main/java/org/signal/libsignal/net/Network.java:292
↓ 8 callers
Method
getInstance
(String algoName)
java/client/src/main/java/org/signal/libsignal/crypto/jce/Mac.java:18
↓ 8 callers
Method
getKeyPair
()
java/shared/java/org/signal/libsignal/protocol/state/SignedPreKeyRecord.java:58
↓ 8 callers
Method
getSignature
()
java/shared/java/org/signal/libsignal/protocol/state/KyberPreKeyRecord.java:55
↓ 8 callers
Method
getSignature
()
java/shared/java/org/signal/libsignal/protocol/state/SignedPreKeyRecord.java:72
↓ 8 callers
Method
get_storage
(&self)
rust/protocol/src/state/signed_prekey.rs:41
↓ 8 callers
Method
id
(&self)
rust/protocol/src/state/prekey.rs:50
↓ 8 callers
Function
inferChunkSize
(dataSize: number)
node/ts/incremental_mac.ts:25
↓ 8 callers
Method
is_valid_sender_account
Returns true iff `self` is a contact with an ACI or E164, or the Self recipient. Note that this **excludes `ReleaseNotes`**, hence "sender *account*"
rust/message-backup/src/backup/recipient.rs:199
↓ 8 callers
Method
keepAlive
* Keeps an object from being garbage-collected until this call completes. * * This can be used to keep a Java wrapper around a Rust object han
java/shared/java/org/signal/libsignal/internal/Native.kt:140
↓ 8 callers
Function
likely_empty
Hint for processing a collection that's usually empty. This saves a small amount of time by not setting up an iteration loop in `collect` only to thr
rust/message-backup/src/backup.rs:1025
↓ 8 callers
Method
messageForRecipient
Returns the Sealed Sender V2 "ReceivedMessage" payload for delivery to a particular recipient. <p>The same payload should be sent to all of the recip
java/server/src/main/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessage.java:172
↓ 8 callers
Function
monitor_then_search
( kt: &impl UnauthenticatedChatApi, monitor_parameters: Parameters<'a>, search_parameters: Paramet
rust/net/chat/src/api/keytrans/monitor_and_search.rs:705
↓ 8 callers
Method
on_network_change
(&self, now: Instant)
rust/bridge/shared/types/src/net.rs:265
↓ 8 callers
Method
private_key
(&self)
rust/zkcredential/src/credentials.rs:153
↓ 8 callers
Method
process
Construct a group session for receiving messages from sender. @param sender The address of the device that sent the message. @param senderKeyDistribu
java/shared/java/org/signal/libsignal/protocol/groups/GroupSessionBuilder.java:47
↓ 8 callers
Method
publicKey
()
node/ts/index.ts:286
↓ 8 callers
Method
public_key_bytes
(&self)
rust/core/src/curve.rs:107
↓ 8 callers
Method
registration_id
(&self)
rust/protocol/src/protocol.rs:398
↓ 8 callers
Function
round_trip
( value: &T, expected_len: usize, )
rust/zkcredential/src/endorsements.rs:798
↓ 8 callers
Function
sealed_sender_encrypt_from_usmc
This method implements the single-key single-recipient [KEM] described in [this Signal blog post], a.k.a. Sealed Sender v1. [KEM]: https://en.wikiped
rust/protocol/src/sealed_sender.rs:972
↓ 8 callers
Method
send_request
( mut self, request: LookupRequest, )
rust/net/src/cdsi.rs:324
↓ 8 callers
Method
service_id_binary
(&self)
rust/core/src/address.rs:95
↓ 8 callers
Function
testSimpleGrpcRequest
( requestName: string, expectedRequest: Record<string, unknown>, responseName: string, response: Recor
node/ts/test/chat/ServiceTestUtils.ts:74
↓ 8 callers
Method
thenCompose
Returns a future that will complete with the completion result of the future produced by applying a function to this future's completion value. <p>If
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:224
↓ 8 callers
Method
timestamp
(&self)
rust/protocol/src/protocol.rs:921
↓ 8 callers
Method
to_bytes
(&self)
rust/poksho/src/statement.rs:332
↓ 8 callers
Method
try_fill_bytes
(&mut self, dest: &mut [u8])
rust/attest/src/snow_resolver.rs:22
↓ 8 callers
Function
validate
(mut reader: BackupReader<impl AsyncRead + Unpin + VerifyHmac>)
rust/message-backup/tests/test_cases.rs:400
↓ 8 callers
Method
verify
Verifies that this token was generated from an endorsement of {@code userIds} by {@code keyPair}. <p>The correct {@code keyPair} must be selected bas
java/shared/java/org/signal/libsignal/zkgroup/groupsend/GroupSendFullToken.java:45
↓ 8 callers
Method
verifyProof
(byte[] proof, byte[] hash)
java/shared/java/org/signal/libsignal/usernames/Username.java:141
↓ 8 callers
Method
whenComplete
Returns a future of the same type that will execute an action when the original future completes, successfully or not. <p>The action will be invoked
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:256
↓ 7 callers
Method
_bridge
Exposed as public for {@code SealedSessionCipher}, do not use directly.
java/shared/java/org/signal/libsignal/protocol/SessionCipher.java:82
↓ 7 callers
Method
_fromNativeHandle
(handle: Native.PublicKey)
node/ts/EcKeys.ts:15
↓ 7 callers
Method
accept
(T value)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:40
↓ 7 callers
Function
aci_to_scalar
Interprets a 128-bit ACI as a scalar for use in the avatar commitment. The UUID bytes are zero-padded to 32 bytes. Since the group order is ~2^252, t
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:228
↓ 7 callers
Function
address
(id: &str)
rust/protocol/cross-version-testing/src/v73.rs:12
↓ 7 callers
Function
address
(id: &str)
rust/protocol/cross-version-testing/src/v74.rs:12
↓ 7 callers
Function
aes_256_cbc_encrypt
( ptext: &[u8], key: &[u8], iv: &[u8], )
rust/crypto/src/aes_cbc.rs:26
↓ 7 callers
Method
archive_current_state
(&mut self)
rust/protocol/src/state/session.rs:828
↓ 7 callers
Method
as_points
(&self)
rust/zkcredential/src/attributes.rs:88
↓ 7 callers
Method
assertChatSendErrorIs
( String errorDescription, Class<E> expectedErrorType)
java/client/src/test/java/org/signal/libsignal/net/ChatServiceTest.java:94
↓ 7 callers
Method
assertIsServerSideError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:261
↓ 7 callers
Method
assertIsTimeoutError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:251
↓ 7 callers
Method
assertIsUnknownError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:255
↓ 7 callers
Method
assertSessionIdEquals
(SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:519
↓ 7 callers
Method
assert_equivalent_with
(&self, them: &Self, context: &str)
rust/protocol/src/session_management.rs:1985
↓ 7 callers
Function
assert_expected_result
( lookup_options: Vec<Box<dyn DnsLookup>>, expected: Option<Ipv4Addr>, )
rust/net/infra/src/dns.rs:723
↓ 7 callers
Method
attest
(self)
rust/attest/src/dcap/fakes.rs:146
↓ 7 callers
Function
check_jobject_type
Verifies that a Java object is a non-`null` instance of the given class.
rust/bridge/shared/types/src/jni/mod.rs:1410
↓ 7 callers
Function
chunkSizeInBytes
(sizeChoice: ChunkSizeChoice)
node/ts/incremental_mac.ts:262
↓ 7 callers
Method
create
(&self)
rust/bridge/shared/types/src/crypto.rs:36
↓ 7 callers
Function
create_for_username
Generates the encrypted buffer used for a username link, decryptable by [`decrypt_username`]. The encryption key will be derived from `entropy` is pr
rust/usernames/src/username_links.rs:24
↓ 7 callers
Method
create_profile_key_credential_request_context
( &self, randomness: RandomnessBytes, aci: libsignal_core::Aci, profile_key: a
rust/zkgroup/src/api/server_params.rs:367
↓ 7 callers
Function
decrypt_username
( entropy: &[u8; USERNAME_LINK_ENTROPY_SIZE], encrypted_username: &[u8], )
rust/usernames/src/username_links.rs:56
↓ 7 callers
Method
deriveFromMasterKey
( groupMasterKey: GroupMasterKey )
node/ts/zkgroup/groups/GroupSecretParams.ts:31
↓ 7 callers
Method
deriveSecrets
java/shared/java/org/signal/libsignal/protocol/kdf/HKDF.kt:10
↓ 7 callers
Method
encodeBase64
(byte[] input)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:460
↓ 7 callers
Method
encrypt
( SignalProtocolAddress destinationAddress, SenderCertificate senderCertificate, byte[] padd
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:58
↓ 7 callers
Method
encrypt
(ServiceId serviceId)
java/shared/java/org/signal/libsignal/zkgroup/groups/ClientZkGroupCipher.java:26
↓ 7 callers
Function
error
()
rust/attest/src/error.rs:107
↓ 7 callers
Function
filterExceptions
java/shared/java/org/signal/libsignal/internal/FilterExceptionsKt.kt:18
↓ 7 callers
Method
flush
(&self)
rust/bridge/ffi/src/logging.rs:88
↓ 7 callers
Method
generate
()
java/shared/java/org/signal/libsignal/zkgroup/ZkCredentialKeyPair.java:26
↓ 7 callers
Method
generateKyberPreKey
( IdentityKeyPair identityKeyPair, int kyberPreKeyId)
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:65
↓ 7 callers
Method
generateSignedPreKey
( IdentityKeyPair identityKeyPair, int signedPreKeyId)
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:56
↓ 7 callers
Method
getPublicParams
()
java/shared/java/org/signal/libsignal/zkgroup/GenericServerSecretParams.java:41
↓ 7 callers
Method
getUsername
()
java/shared/java/org/signal/libsignal/usernames/Username.java:70
↓ 7 callers
Method
get_request
(&self)
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:352
↓ 7 callers
Method
hash
(&self, state: &mut H)
rust/net/infra/src/route/ws.rs:88
↓ 7 callers
Function
hkdf
(entropy: &[u8], label: &[u8])
rust/usernames/src/username_links.rs:85
↓ 7 callers
Method
initializeSessions
( TestInMemorySignalProtocolStore aliceStore, TestInMemorySignalProtocolStore bobStore, Sign
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:972
↓ 7 callers
Method
injectServerRequest
(FakeChatRemote fakeRemote, String requestBase64)
java/client/src/test/java/org/signal/libsignal/net/ChatServiceTest.java:156
↓ 7 callers
Method
insert
(&mut self, level: usize, value: Hash)
rust/keytrans/src/log.rs:295
↓ 7 callers
Method
into_reader
(self)
rust/message-backup/src/parse.rs:161
↓ 7 callers
Function
json
(status: u16, body: impl AsRef<[u8]>)
rust/net/chat/src/ws.rs:431
↓ 7 callers
Method
kind
(&self)
rust/core/src/address.rs:191
↓ 7 callers
Method
leaf
(&self)
rust/attest/src/cert_chain.rs:47
↓ 7 callers
Method
lookUpUsernameHash
* Looks up a username hash on the service, like that computed by * [org.signal.libsignal.usernames.Username]. * * Produces the corresponding
java/client/src/main/java/org/signal/libsignal/net/UnauthUsernamesService.kt:28
↓ 7 callers
Method
mac_key
(&self)
rust/protocol/src/ratchet/keys.rs:126
↓ 7 callers
Function
make_chat
()
rust/net/chat/src/ws/keytrans.rs:367
↓ 7 callers
Function
make_kt
(chat: &(dyn LowLevelChatApi + Sync))
rust/net/chat/src/api/keytrans.rs:630
↓ 7 callers
Method
map_domain
Transforms the `Domain` variant with the provided function. Like `Option::map`; this produces a new `Host` by applying `f` to the `Domain` value if t
rust/net/infra/src/host.rs:69
↓ 7 callers
Method
map_into_error
(self, f: impl FnOnce(TestE) -> E)
rust/bridge/shared/testing/src/net/registration.rs:164
← previous
next →
501–600 of 8,820, ranked by callers