libpermute
libpermute is a no_std compatible library that provides a function
to permute the items of a slice.
libpermute offers a few main features:
-
Stability. The permutation algorithm won't be changed without a major version bump.
-
Re-implementability. It should be relatively straightforward to re-implement the algorithm this library uses in another library or in another language.
-
Strength. Given an unpredictable permute_key, the permutation should also be unpredictable - assuming that no one breaks the Sha-256 or ChaChar20 algorithms.
Example
use permute;
No_std
No_std mode may be activated by disabling the "std" feature.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.