[−][src]Crate lib3h_crypto_api
lib3h abstract cryptography traits and data types
Examples
extern crate lib3h_crypto_api; fn main() { }
Modules
crypto_system_test | Expose a test suite that can exercise CryptoSystem implementations. You'll probably also need to write unit tests specific to your impl. |
Macros
aead_decrypt | syntactic sugar for named parameters to clarify buffer usage |
aead_encrypt | syntactic sugar for named parameters to clarify buffer usage |
kx_client_session_keys | syntactic sugar for named parameters to clarify buffer usage |
kx_server_session_keys | syntactic sugar for named parameters to clarify buffer usage |
Structs
ReadLocker | Helper object that will automatically secure a Buffer when dropped |
WriteLocker | Helper object that will automatically secure a Buffer when dropped |
Enums
CryptoError | Represents an error generated by the cryptography system |
ProtectState | Track if a buffer has read/write access or is memory protected. |
Traits
Buffer | The Buffer trait is used by crypto_api functions to exchange data.
It is implemented for Vec |
CryptoSystem | A trait describing a cryptographic system implementation compatible with Lib3h and Holochain. |
Type Definitions
CryptoResult | represents a Result object returned by an api in the cryptography system |