13 lines
No EOL
232 B
Rust
13 lines
No EOL
232 B
Rust
/*
|
|
use std::net::Ipv4Addr;
|
|
pub trait AuthModule{
|
|
fn get_auth_key(addr: Ipv4Addr) -> [u8; 32];
|
|
}*/
|
|
/*
|
|
struct AuthServerAuthModule;
|
|
|
|
impl AuthModule for AuthServerAuthModule{
|
|
fn get_auth_key(addr: Ipv4Addr) -> rc4 {
|
|
|
|
}
|
|
}*/ |