We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nonce
How can I define the Nonce type? This fails:
struct Ser { nonce: Nonce<U12>, }
not found in this scope
Converting to a slice also doesn't seem to work, since it's unsized
let nonce = aes_gcm::Aes256Gcm::generate_nonce(&mut rng).as_slice(); // &[u8]
How do I serialize a nonce?
The text was updated successfully, but these errors were encountered:
Reading over it again, it seems I've not been as clear as I thought. I'll reopen a new issue right away
Sorry, something went wrong.
No branches or pull requests
How can I define the Nonce type? This fails:
Converting to a slice also doesn't seem to work, since it's unsized
How do I serialize a nonce?
The text was updated successfully, but these errors were encountered: