rust-nex/prudplite/src/crypto/insecure.rs
Maple a88f1898a5
Some checks failed
Build and Test / friends (push) Successful in 3m13s
Build and Test / splatoon (push) Failing after 4m27s
fix warnings
2026-04-26 13:15:56 +02:00

14 lines
247 B
Rust

use rnex_core::PID;
use crate::crypto::Crypto;
pub struct Insecure;
impl Crypto for Insecure {
fn new_connection(&self, _data: &[u8]) -> Option<(PID, Vec<u8>)> {
Some((100, vec![]))
}
fn new() -> Self {
Self
}
}