This repository contains code prior maintenance was handed to Verizon Digital
Please refer to https://github.com/VerizonDigital/rust-ectoken starting from 0.3
Token Generator for Edgecast Token-Based Authentication from Verizon Digital Media Services
Written against Rust 2018. (Minimum rustc version 1.41.0)
To build and install the test utility, simply run cargo build --release
To use rust-ectoken, add the following to your Cargo.toml:
[dependencies]
ectoken = "^0.3"
and the following to your crate root:
extern crate ectoken;
Command-line usage for encrypting and decrypting is as follows:
To Encrypt:
ec_encrypt <key> <text>
or:
ec_encrypt encrypt <key> <text>
To Decrypt:
ec_encrypt decrypt <key> <text>
Please have a look to generated and tested doc for more information.