reticulum-rs-core 0.7.0

Core packet, identity, ratchet, and cryptographic primitives for the Reticulum network stack.
Documentation
use ed25519_dalek::{Signature, SigningKey, VerifyingKey, SIGNATURE_LENGTH};

use rand_core::CryptoRngCore;

use x25519_dalek::PublicKey;

use alloc::vec::Vec;

use core::{fmt, marker::PhantomData};

#[cfg(feature = "std")]
use std::path::Path;

use crate::{
    error::RnsError,
    hash::{AddressHash, Hash},
    identity::{EmptyIdentity, HashIdentity, Identity, PrivateIdentity, PUBLIC_KEY_LENGTH},
    packet::{
        self, ContextFlag, DestinationType, Header, HeaderType, IfacFlag, Packet, PacketContext,
        PacketDataBuffer, PacketType, PropagationType,
    },
    ratchets::{decrypt_with_identity, now_secs},
};

use sha2::Digest;