File size: 98 Bytes
63f41a6
 
 
 
1
2
3
4
5
pub const KEY_LEN: usize = 32;
pub fn key_len_ok(key: &[u8]) -> bool {
    key.len() == KEY_LEN
}