cipher 0.1.1

feistel cipher implementation in rust. Converts str -> Vec<u32>

Crate cipher [] [src]

Functions

feistel_decrypt
feistel_encrypt

encryption is similar to hashing without destructive operation it also requires a key - or something to encrypt against For a Feistel cipher we'll have to generate subkeys from the master key One subkey is used per round and there can be multiple rounds of encryption One approach would be to hash a key to generate the subkey, which is hashed to generate the next subkey...so on so forth This will take a simpler approach so decryption subkey generation is easier