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
↓ 20 callers
Method
as_search_key
(&self)
rust/net/chat/src/api/keytrans.rs:163
↓ 20 callers
Method
encrypt
Encrypt a message. @param paddedPlaintext The plaintext message bytes, optionally padded. @return Ciphertext. @throws NoSessionException
java/shared/java/org/signal/libsignal/protocol/groups/GroupCipher.java:68
↓ 20 callers
Method
fill_bytes
(&mut self, dst: &mut [u8])
rust/crypto/src/hpke/provider.rs:211
↓ 20 callers
Function
fixed_seed_test_rng
A standard RNG used for exact-match tests that (normally) depend on randomness.
rust/net/chat/src/api.rs:237
↓ 20 callers
Method
get_scalar
Uses [`ShoApi::squeeze_and_ratchet_into`] to generate a pseudorandom scalar.
rust/zkcredential/src/sho.rs:22
↓ 20 callers
Method
get_scalar
(&mut self)
rust/zkgroup/src/common/sho.rs:54
↓ 20 callers
Function
log_and_send
Performs a single operation, assumed to be a gRPC request, with logging at the start and end.
rust/net/chat/src/grpc.rs:155
↓ 20 callers
Method
pop
(&mut self)
rust/net/infra/src/utils/binary_heap.rs:71
↓ 20 callers
Function
process
(input: R, hmac_key: &[u8])
rust/message-backup/benches/validation.rs:146
↓ 20 callers
Method
with_signed_pre_key
(mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:266
↓ 19 callers
Method
as_ref
(&self)
rust/net/infra/src/route/connect/throttle.rs:101
↓ 19 callers
Method
as_secs
(&self)
rust/message-backup/src/backup/time.rs:164
↓ 19 callers
Method
createBundle
(SignalProtocolStore store)
java/client/src/test/java/org/signal/libsignal/protocol/BundleFactory.java:12
↓ 19 callers
Method
deviceId
()
node/ts/Address.ts:219
↓ 19 callers
Method
fromStringsCondensedAssert
(String... encoded)
java/shared/java/org/signal/libsignal/protocol/util/Hex.java:68
↓ 19 callers
Function
group_encrypt
( sender_key_store: &mut dyn SenderKeyStore, sender: &ProtocolAddress, distribution_id: Uuid,
rust/protocol/src/group_cipher.rs:16
↓ 19 callers
Method
into_request_error
(self)
rust/net/chat/src/ws/registration.rs:71
↓ 19 callers
Method
remove
Creates an endorsement with `other` removed from `self`. This is useful when `self` represents a [combined](Self::combine) endorsement, but you want
rust/zkcredential/src/endorsements.rs:597
↓ 19 callers
Function
server_secret_params
()
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:614
↓ 19 callers
Method
start
( Network network, String username, String password, CdsiLookupRequest request)
java/client/src/main/java/org/signal/libsignal/net/CdsiLookup.java:15
↓ 19 callers
Method
then
Produces a future using the given result handler. Note that if there was a JavaScript exception during the creation of this JsFutureBuilder, `transfo
rust/bridge/node/futures/src/future/builder.rs:30
↓ 19 callers
Method
try_into_response
(self)
rust/net/chat/src/ws.rs:343
↓ 19 callers
Method
wipe_and_try_to_restore
(&mut self, failures: &[usize])
rust/net/src/svrb.rs:1245
↓ 19 callers
Method
with_pre_key
(mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:247
↓ 18 callers
Method
as_typed
Provides access to the inner ChatConnection using the [`Unauth`] wrapper of libsignal-net-chat. This callback signature unfortunately requires boxing
rust/bridge/shared/types/src/net/chat.rs:141
↓ 18 callers
Method
connect
Establish an attested connection over the given stream. Perform a handshake over the provided websocket stream with the given handshake function. If
rust/net/infra/src/ws/attested.rs:68
↓ 18 callers
Function
create_pre_key_bundle
( store: &mut dyn ProtocolStore, mut csprng: &mut R, )
rust/protocol/tests/support/mod.rs:71
↓ 18 callers
Method
derive_key
Derives a specific key for issuing endorsements. The `tag_info` should include a domain separation string** as well as any "public attributes" specif
rust/zkcredential/src/endorsements.rs:308
↓ 18 callers
Method
generateWithRandom
( random: Uint8Array<ArrayBuffer> )
node/ts/zkgroup/ZkCredentialKey.ts:30
↓ 18 callers
Method
getSerialized
()
java/client/src/main/java/org/signal/libsignal/metadata/protocol/UnidentifiedSenderMessageContent.java:86
↓ 18 callers
Method
number
()
node/ts/net/Registration.ts:339
↓ 18 callers
Function
process_sender_key_distribution_message
( sender: &ProtocolAddress, skdm: &SenderKeyDistributionMessage, sender_key_store: &mut dyn Sender
rust/protocol/src/group_cipher.rs:196
↓ 18 callers
Method
public_key
(&self)
rust/core/src/curve.rs:259
↓ 18 callers
Function
sealed_sender_multi_recipient_encrypt
This method implements a single-key multi-recipient [KEM] as defined in Manuel Barbosa's ["Randomness Reuse: Extensions and Improvements"], a.k.a. Sea
rust/protocol/src/sealed_sender.rs:1362
↓ 18 callers
Method
service
(&self)
rust/net/chat/src/grpc.rs:87
↓ 18 callers
Method
sign
(message: Uint8Array<ArrayBuffer>)
node/ts/zkgroup/ServerSecretParams.ts:44
↓ 17 callers
Function
assert_lookup_result_content_equal
( lookup_result: &LookupResult, expected_ipv4s: &[Ipv4Addr], expected_ipv6s: &[Ipv6Add
rust/net/infra/src/dns/custom_resolver.rs:607
↓ 17 callers
Method
expect_no_exceptions
(self)
rust/bridge/shared/types/src/jni/error.rs:374
↓ 17 callers
Method
getSessionVersion
(SignalProtocolAddress remoteAddress)
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:242
↓ 17 callers
Method
get_public_key
(&self)
rust/zkgroup/src/crypto/signature.rs:51
↓ 17 callers
Function
group_decrypt
( skm_bytes: &[u8], sender_key_store: &mut dyn SenderKeyStore, sender: &ProtocolAddress, )
rust/protocol/src/group_cipher.rs:124
↓ 17 callers
Function
hexToBuffer
(hex: string)
node/ts/test/ZKGroup-test.ts:81
↓ 17 callers
Method
makeCancelable
(TokioAsyncContext context)
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:58
↓ 17 callers
Function
new_jstring_from_owned_utf8
Reuses the buffer of `contents` to create a `java.lang.String`. This still requires O(N) work to verify that the string is free of NUL bytes and also
rust/bridge/shared/types/src/jni/mod.rs:1366
↓ 17 callers
Function
req
(uri: &str, body: impl prost::Message + 'static)
rust/net/chat/src/grpc.rs:730
↓ 17 callers
Method
send
(&self, message: Request, timeout: Duration)
rust/bridge/shared/types/src/net/chat.rs:365
↓ 17 callers
Method
session_state
(&self)
rust/protocol/src/state/session.rs:775
↓ 17 callers
Method
split
(byte[] input, int firstLength, int secondLength)
java/shared/java/org/signal/libsignal/protocol/util/ByteUtil.java:28
↓ 16 callers
Method
add
panics on invalid input
rust/poksho/src/statement.rs:146
↓ 16 callers
Method
add_sender_key_state_record
Associates the `record_key` with the `chain_key` via `add_sender_key_state` which is the method under test in this module.
rust/protocol/src/sender_keys.rs:396
↓ 16 callers
Method
calculate_agreement
(&self, their_key: &PublicKey)
rust/core/src/curve.rs:296
↓ 16 callers
Function
chain_key
(i: u128)
rust/protocol/src/sender_keys.rs:379
↓ 16 callers
Method
checkCalledMethod
* Checks that the called method on the given target is annotated to avoid being stripped. * * @throws AssertionError if the method isn't
java/shared/java/org/signal/libsignal/internal/CalledFromNative.kt:77
↓ 16 callers
Method
create
Construct a group session for sending messages. @param sender The address of the current client. @param distributionId An opaque identifier that uniq
java/shared/java/org/signal/libsignal/protocol/groups/GroupSessionBuilder.java:67
↓ 16 callers
Method
createFor
Generate a scannable and displayable fingerprint. @param version The version of fingerprint you are generating. @param localStableIdentifier The clie
java/shared/java/org/signal/libsignal/protocol/fingerprint/NumericFingerprintGenerator.java:42
↓ 16 callers
Function
e164_pair
To be used for search function
rust/net/chat/src/api/keytrans.rs:602
↓ 16 callers
Method
epoch_millis
(&self)
rust/protocol/src/timestamp.rs:18
↓ 16 callers
Method
finalize
(self)
rust/protocol/src/incremental_mac.rs:87
↓ 16 callers
Method
get_public_params
(&self)
rust/zkgroup/src/api/call_links/params.rs:52
↓ 16 callers
Method
lookup_pair
( &'a self, key: &'a RecipientId, )
rust/message-backup/src/backup/call.rs:501
↓ 16 callers
Function
message_decrypt_signal
Decrypt a [`SignalMessage`] from `remote_address`. Tries all sessions in the session record. Checks identity key trust after decryption.
rust/protocol/src/session_management.rs:297
↓ 16 callers
Method
name
(&self)
rust/core/src/address.rs:800
↓ 16 callers
Method
port
()
node/ts/test/ChatTest.ts:67
↓ 16 callers
Method
present
( &self, server_params: &GenericServerPublicParams, randomness: RandomnessBytes, )
rust/zkgroup/src/api/backups/auth_credential.rs:241
↓ 16 callers
Method
respond
(self, result: Result<(), E>)
rust/net/infra/src/route.rs:1291
↓ 16 callers
Function
run
(bob_add_keys: F, expected_session_version: u32)
rust/protocol/tests/session.rs:40
↓ 16 callers
Method
send
( &self, log_tag: &'static str, log_safe_path: &str, request: ChatRequest,
rust/net/chat/src/ws/registration.rs:57
↓ 16 callers
Method
send_response
Sends a response for the associated request to the server. Fails if the server definitely didn't receive the response. A return value of `Ok(())` doe
rust/net/src/chat/ws.rs:440
↓ 16 callers
Method
toString
(byte[] bytes)
java/shared/java/org/signal/libsignal/protocol/util/Hex.java:18
↓ 15 callers
Method
add_kyber_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:300
↓ 15 callers
Method
add_signed_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:271
↓ 15 callers
Method
as_millis
(&self)
rust/message-backup/src/backup/time.rs:111
↓ 15 callers
Method
as_pin_mut
(self: Pin<&mut Self>)
rust/net/infra/src/route/connect/throttle.rs:119
↓ 15 callers
Method
assertMessageForRecipient
( final SealedSenderMultiRecipientMessage message, final SealedSenderMultiRecipientMessage.Recipie
java/server/src/test/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessageTest.java:41
↓ 15 callers
Method
cancel
(boolean mayInterruptIfRunning)
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:63
↓ 15 callers
Function
dummy_ec_public_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:889
↓ 15 callers
Method
getDevicesAndRegistrationIds
Returns a stream of (device ID, registration ID) pairs. @see #getDevices
java/server/src/main/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessage.java:74
↓ 15 callers
Method
get_pre_keys
( &self, auth: UserBasedAuthorization, target: ServiceId, device: DeviceSpecif
rust/net/chat/src/ws/keys.rs:102
↓ 15 callers
Method
into_box
Converts back into a `Box`ed slice. Callers of this function must ensure that - the `OwnedBufferOf` was originally created from `Box` (or `default()`
rust/bridge/shared/types/src/ffi/mod.rs:131
↓ 15 callers
Method
isSessionIdEqual
(SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:528
↓ 15 callers
Method
message_type
(&self)
rust/protocol/src/protocol.rs:43
↓ 15 callers
Method
name
()
node/ts/Address.ts:202
↓ 15 callers
Function
new_chat
(listener: EventListener)
rust/net/src/chat/ws.rs:1604
↓ 15 callers
Method
proxyOptionsFromUrl
* Parses a proxy URL into an options object, suitable for passing to {@link #setProxy}. * * It is recommended not to call this directly. Instead
node/ts/net.ts:447
↓ 15 callers
Function
read
(amount: number)
node/ts/io.ts:50
↓ 15 callers
Method
read_next
(&mut self)
rust/message-backup/src/parse.rs:24
↓ 15 callers
Method
remove
(&self)
rust/net/src/svrb.rs:655
↓ 15 callers
Method
replace
(self, make_fragment: impl FnOnce(S) -> T)
rust/net/infra/src/route/ws.rs:61
↓ 15 callers
Function
respond_after_timeout
( timeout: Duration, tx: OneshotDnsQueryResultSender, response: dns::Result<DnsQueryRe
rust/net/infra/src/dns/custom_resolver.rs:596
↓ 15 callers
Function
sealed_sender_decrypt_to_usmc
Decrypt the payload of a sealed-sender message in either the v1 or v2 format. [`sealed_sender_decrypt`] consumes the output of this method to validat
rust/protocol/src/sealed_sender.rs:1853
↓ 15 callers
Function
username_hash
()
rust/net/chat/src/api/keytrans.rs:597
↓ 15 callers
Method
write
(&mut self, message: impl Into<TextOrBinary>)
rust/net/infra/src/ws/attested.rs:186
↓ 14 callers
Method
add_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:252
↓ 14 callers
Method
add_recipient
(&mut self, recipient: proto::Recipient)
rust/message-backup/src/backup.rs:721
↓ 14 callers
Method
create_new_current_enclave
(&mut self)
rust/net/src/svrb.rs:1264
↓ 14 callers
Function
create_sender_key_distribution_message
( sender: &ProtocolAddress, distribution_id: Uuid, sender_key_store: &mut dyn SenderKeyStore,
rust/protocol/src/group_cipher.rs:228
↓ 14 callers
Method
env
(self)
rust/bridge/shared/types/src/net.rs:52
↓ 14 callers
Method
getPublicKey
()
java/shared/java/org/signal/libsignal/protocol/IdentityKeyPair.java:46
↓ 14 callers
Method
get_local_registration_id
(&self)
rust/protocol/src/storage/inmem.rs:56
↓ 14 callers
Function
get_proto_field
(field: &'a Option<T>, name: &'static str)
rust/keytrans/src/verify.rs:86
← previous
next →
201–300 of 8,820, ranked by callers