pub enum GroupKey {
Aes128([u8; 32]),
Aes256([u8; 64]),
}Expand description
A GROUP destination’s shared symmetric key. RNS 1.4.2 Token.generate_key() mints the AES-256 form by default (32-byte signing half ‖ 32-byte encryption half); the AES-128 form is 32 bytes. The length law lives in the variants, so a stored key views as a TokenKey without a fallible re-parse per packet.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupKey
impl RefUnwindSafe for GroupKey
impl Send for GroupKey
impl Sync for GroupKey
impl Unpin for GroupKey
impl UnsafeUnpin for GroupKey
impl UnwindSafe for GroupKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more