# `Secwords`
[![CI][ci-badge]][ci-url]
[![Crates.io][crates-badge]][crates-url]
[![Licensed][license-badge]][license-url]
[![Twitter][twitter-badge]][twitter-url]
[ci-badge]: https://github.com/just-do-halee/secwords/actions/workflows/ci.yml/badge.svg
[crates-badge]: https://img.shields.io/crates/v/secwords.svg?labelColor=383636
[license-badge]: https://img.shields.io/crates/l/secwords?labelColor=383636
[twitter-badge]: https://img.shields.io/twitter/follow/do_halee?style=flat&logo=twitter&color=4a4646&labelColor=333131&label=just-do-halee
[ci-url]: https://github.com/just-do-halee/secwords/actions
[twitter-url]: https://twitter.com/do_halee
[crates-url]: https://crates.io/crates/secwords
[license-url]: https://github.com/just-do-halee/secwords
secure and safe password (temporary) container.
* typed system
* memory safety
* unicode safety
<br>(no-std support)
```toml
[dependencies]
secwords = "0.1.0"
```
---
## `How to`
```rust
use secwords::Password;
let pass1 = Password::<6>::new("12345678").unwrap(); // min length = 6
let pass2: Password<6> = "12345678".parse().unwrap();
assert_eq!(pass1, pass2);
assert_eq!(pass1, "12345678");
```
there are more examples in the `lib.rs`