sscrypt 0.6.0

A CLI tool to encrypt service-skeleton secrets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, thiserror::Error, thiserror_ext::Construct)]
#[non_exhaustive]
pub enum Error {
	#[error("failed to decode base64 data: {0}")]
	Base64DecodingFailed(#[from] base64::DecodeError),

	#[error("cryptographic failure: {0}")]
	Cryptgraphy(#[from] strong_box::Error),

	#[error("invalid key: {0}")]
	InvalidKey(String),

	#[error("invalid string: {0}")]
	InvalidString(#[from] std::string::FromUtf8Error),
}