Module rc5_cipher::rc5

source ·
Expand description

rc5 block-cipher

rc5 is a crate to encrypt and decrypt messages using the RC5 algorithm: https://www.grc.com/r&d/rc5.pdf

Enums

Functions

  • Decrypts a plaintext pt and returns a ciphertext ct. The pt should have length 2 * w = 2 * bytes(W)
  • Encrypts a plaintext pt and returns a ciphertext ct. The pt should have length 2 * w = 2 * bytes(W)
  • Expands key into and array of length T of type W