spead-0.3.0 is not a library.
Visit the last successful build:
spead-0.4.1
Spead: Structure Preserving Encryption and Decryption
A command line tool to encrypt JSON files, preserving their schema and types
Installation
Prequisites
|
Installation
With Cargo from crates.io :
With Cargo from git:
Building from source:
# Clone the repository
Features
-
Encryption: Values are obfuscated post encryption, and can be decrypted with the original key.
-
Schema Preservation: Ensures the original JSON structure and data types remain intact after encryption.
-
Secure Key Derivation: Utilizes Argon2 for robust, password-based cryptographic key derivation.
-
CLI Integration: Designed for shell scripts, supporting stdin and stdout for input and output.
-
Granular Control: Fine-grained behavioral configuration through command-line flags.
Command-line options
Example
Consider the file, file.json:
Encrypted with the password SECRET_PASSWORD using the command: