Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Latest commit

 

History

History
43 lines (29 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.07 KB

rust-ectoken

This repository contains code prior maintenance was handed to Verizon Digital

Please refer to https://github.com/VerizonDigital/rust-ectoken starting from 0.3

CI crates.io Docs

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

Usage

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.