[go: up one dir, main page]

rust-crypto 0.2.32

A (mostly) pure-Rust implementation of various common cryptographic algorithms.
Documentation
1
2
3
4
5
6
7
use std::iter::repeat;

fn main() {
    let vec: Vec<u8> = repeat(0).take(10).collect();
    let test: &[u8] = &vec[];
}