rust-nex/prudpv1/src/prudp/auth_module.rs

13 lines
232 B
Rust
Raw Normal View History

/*
2025-01-19 14:14:48 +01:00
use std::net::Ipv4Addr;
pub trait AuthModule{
fn get_auth_key(addr: Ipv4Addr) -> [u8; 32];
}*/
2025-01-19 14:14:48 +01:00
/*
struct AuthServerAuthModule;
impl AuthModule for AuthServerAuthModule{
fn get_auth_key(addr: Ipv4Addr) -> rc4 {
}
}*/