Structs§
- Const
Slice_ Const Str - A const reference to a string represnted in a contiguous array of bytes
- Const
Slice_ u32 - A const reference to a string represnted in a contiguous array of bytes
- Const
Str - A const reference to a string represnted in a contiguous array of bytes
- Heap
String - A heap allocated string
The caller should call
sodot_dealloc_heap_stringon the struct after use. - ResultFFI
- Room
- Parameters for joining a room
Constants§
- SODOT_
EXECUTOR_ ERROR - SODOT_
INVALID_ API_ KEY - SODOT_
INVALID_ DERIVATION_ ELEM_ ERR - SODOT_
INVALID_ HOST_ URL - SODOT_
INVALID_ KEYGEN_ ID_ ERR - SODOT_
INVALID_ KEYGEN_ INIT_ KEYPAIR_ ERR - SODOT_
INVALID_ MESSAGE_ ERR - SODOT_
INVALID_ NUMBER_ OF_ PARTIES_ ERR - SODOT_
INVALID_ PRIVATE_ KEY - SODOT_
INVALID_ PUBLIC_ KEY - SODOT_
INVALID_ SECRET_ SHARE_ ERR - SODOT_
INVALID_ SPRIV_ ERR - SODOT_
INVALID_ SPUB_ ERR - SODOT_
INVALID_ TWEAK - SODOT_
INVALID_ UUID - SODOT_
INVALID_ XPRIV_ ERR - SODOT_
INVALID_ XPUB_ ERR - SODOT_
NULL_ POINTER - SODOT_
OK - SODOT_
PANIC_ ERR - SODOT_
PLATFORM_ ERR
Functions§
- sodot_
bip340_ ⚠derive_ private_ key_ from_ xpriv - sodot_
bip340_ ⚠derive_ pubkey_ from_ xpub - sodot_
bip340_ ⚠derive_ tweak_ pubkey - sodot_
bip340_ ⚠export_ full_ private_ key - sodot_
bip340_ ⚠get_ export_ id - sodot_
bip340_ ⚠get_ xpub - sodot_
bip340_ ⚠import_ private_ key_ importer - sodot_
bip340_ ⚠import_ private_ key_ recipient - sodot_
bip340_ ⚠keygen - sodot_
bip340_ ⚠offline_ export_ full_ private_ key - sodot_
bip340_ ⚠refresh - sodot_
bip340_ ⚠reshare_ new_ party - sodot_
bip340_ ⚠reshare_ remaining_ party - sodot_
bip340_ ⚠sign - sodot_
create_ ⚠room - sodot_
dealloc_ ⚠heap_ string - Deallocates the heap array This should be called after the struct is no longer needed
- sodot_
ecdsa_ ⚠derive_ private_ key_ from_ xpriv - sodot_
ecdsa_ ⚠derive_ pubkey - sodot_
ecdsa_ ⚠derive_ pubkey_ from_ xpub - sodot_
ecdsa_ ⚠export_ full_ private_ key - sodot_
ecdsa_ ⚠get_ export_ id - sodot_
ecdsa_ ⚠get_ xpub - sodot_
ecdsa_ ⚠import_ private_ key_ importer - sodot_
ecdsa_ ⚠import_ private_ key_ recipient - sodot_
ecdsa_ ⚠keygen - sodot_
ecdsa_ ⚠offline_ export_ full_ private_ key - sodot_
ecdsa_ ⚠refresh - sodot_
ecdsa_ ⚠reshare_ new_ party - sodot_
ecdsa_ ⚠reshare_ remaining_ party - sodot_
ecdsa_ ⚠sign - sodot_
ed25519_ ⚠derive_ private_ key_ from_ spriv - sodot_
ed25519_ ⚠derive_ pubkey - sodot_
ed25519_ ⚠derive_ pubkey_ from_ spub - sodot_
ed25519_ ⚠export_ full_ private_ key - sodot_
ed25519_ ⚠get_ export_ id - sodot_
ed25519_ ⚠get_ spub - sodot_
ed25519_ ⚠import_ private_ key_ importer - sodot_
ed25519_ ⚠import_ private_ key_ recipient - sodot_
ed25519_ ⚠keygen - sodot_
ed25519_ ⚠offline_ export_ full_ private_ key - sodot_
ed25519_ ⚠refresh - sodot_
ed25519_ ⚠reshare_ new_ party - sodot_
ed25519_ ⚠reshare_ remaining_ party - sodot_
ed25519_ ⚠sign - sodot_
exportable_ ⚠ed25519_ export_ full_ private_ key - sodot_
exportable_ ⚠ed25519_ get_ export_ id - sodot_
exportable_ ⚠ed25519_ get_ pubkey - sodot_
exportable_ ⚠ed25519_ import_ private_ key_ importer - sodot_
exportable_ ⚠ed25519_ import_ private_ key_ recipient - sodot_
exportable_ ⚠ed25519_ offline_ export_ full_ private_ key - sodot_
exportable_ ⚠ed25519_ receive_ key - sodot_
exportable_ ⚠ed25519_ refresh - sodot_
exportable_ ⚠ed25519_ reshare_ new_ party - sodot_
exportable_ ⚠ed25519_ reshare_ remaining_ party - sodot_
exportable_ ⚠ed25519_ sample_ key - sodot_
exportable_ ⚠ed25519_ sign - sodot_
init_ ⚠keygen - sodot_
keccak256 ⚠ - Computes the Keccak256 hash of the given data.
The data is expected to be a pointer to a byte array of length
len. The hash is written to thehash32pointer, which should point to a 32-byte array. - sodot_
sha256 ⚠ - Computes the SHA256 hash of the given data.
The data is expected to be a pointer to a byte array of length
len. The hash is written to thehash32pointer, which should point to a 32-byte array. - sodot_
sr25519_ ⚠derive_ private_ key_ from_ private_ key - sodot_
sr25519_ ⚠derive_ pubkey - sodot_
sr25519_ ⚠derive_ pubkey_ from_ pubkey - sodot_
sr25519_ ⚠export_ full_ private_ key - sodot_
sr25519_ ⚠get_ export_ id - sodot_
sr25519_ ⚠get_ pubkey - sodot_
sr25519_ ⚠import_ private_ key_ importer - sodot_
sr25519_ ⚠import_ private_ key_ recipient - sodot_
sr25519_ ⚠keygen - sodot_
sr25519_ ⚠offline_ export_ full_ private_ key - sodot_
sr25519_ ⚠refresh - sodot_
sr25519_ ⚠reshare_ new_ party - sodot_
sr25519_ ⚠reshare_ remaining_ party - sodot_
sr25519_ ⚠sign