seckey 0.10.0

Use `memsec` protected secret memory.
docs.rs failed to build seckey-0.10.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: seckey-0.12.1

seckey

travis-ci appveyor crates license docs.rs

Use memsec protected secret memory.

exmaple

use seckey::SecKey;

let secpass = SecKey::new([8u8; 8]).unwrap();

{
	assert_eq!([8u8; 8], *secpass.read());
}

{
	let mut wpass = secpass.write();
	wpass[0] = 0;
	assert_eq!([0, 8, 8, 8, 8, 8, 8, 8], *wpass);
}