Skip to main content

Crate stringencrypt

Crate stringencrypt 

Source
Expand description

Official Rust client for the StringEncrypt Web API.

Configure a StringEncrypt client, then call StringEncrypt::encrypt_string, StringEncrypt::encrypt_file_contents, or StringEncrypt::is_demo.

Structs§

ApiResponse
Decoded JSON object from a successful send call, or transport/parse failure represented as None.
Command
Web API command parameter.
ErrorCode
API error codes returned in encrypt responses (error field).
Language
Output language for generated decryptor code (lang request field).
NewLine
Line ending style for generated source (new_lines request field).
StringEncrypt
Stateful HTTP client: pass the activation key to the constructor, configure other options via setters, then StringEncrypt::send.

Enums§

HighlightArg
Argument for StringEncrypt::set_highlight.