[−][src]Trait lorawan::keys::CryptoFactory
Represents an abstraction over the crypto functions.
This trait provides a way to pick a different implementation of the crypto primitives.
Associated Types
Loading content...Required methods
fn new_enc(&self, key: &AES128) -> Self::E
Method that creates an Encrypter.
fn new_dec(&self, key: &AES128) -> Self::D
Method that creates a Decrypter.
fn new_mac(&self, key: &AES128) -> Self::M
Method that creates a MAC calculator.