Crate visual_cryptography

Source
Expand description

Visual Cryptography Library

This library implements various visual cryptography algorithms including:

  • Basic (k,n) threshold schemes
  • Progressive visual cryptography
  • Support for binary, greyscale, and color images
  • Configurable block sizes

Re-exports§

pub use algorithms::Algorithm;
pub use algorithms::VCScheme;
pub use error::Result;
pub use error::VCError;
pub use share::Share;
pub use share::ShareType;

Modules§

algorithms
Visual cryptography algorithms implementation
error
Error types for visual cryptography operations
matrix
Matrix generation for visual cryptography schemes
share
Share management for visual cryptography
utils
Utility functions for visual cryptography

Structs§

ImageBuffer
Generic image buffer
Luma
Grayscale colors.
Rgb
RGB colors.
Rgba
RGB colors + alpha channel
VCConfig
Configuration for visual cryptography operations
VisualCryptography
Main struct for visual cryptography operations

Enums§

DynamicImage
A Dynamic Image