Skip to main content

Crate ngdp_crypto

Crate ngdp_crypto 

Source
Expand description

Encryption and decryption support for NGDP/TACT files.

This crate provides:

  • Key management for TACT encryption keys
  • Salsa20 stream cipher implementation for BLTE mode ‘E’
  • ARC4 cipher implementation (for legacy support - DEPRECATED)
  • Hardcoded WoW encryption keys
  • Key file loading from multiple formats

Re-exports§

pub use error::CryptoError;
pub use key_service::KeyService;
pub use arc4::decrypt_arc4;Deprecated
pub use arc4::encrypt_arc4;Deprecated
pub use salsa20::decrypt_salsa20;
pub use salsa20::encrypt_salsa20;

Modules§

arc4Deprecated
ARC4 decryption implementation for BLTE mode ‘E’
error
Error types for ngdp-crypto operations.
key_service
Key management service for TACT encryption.
keys
Hardcoded encryption keys for WoW.
salsa20
Salsa20 stream cipher implementation for BLTE encryption.

Type Aliases§

Result
Result type for crypto operations.