diff options
Diffstat (limited to 'crypto/symm.rs')
| -rw-r--r-- | crypto/symm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/symm.rs b/crypto/symm.rs index 3f27d117..84900447 100644 --- a/crypto/symm.rs +++ b/crypto/symm.rs @@ -194,7 +194,7 @@ pub fn decrypt(t: Type, key: &[u8], iv: ~[u8], data: &[u8]) -> ~[u8] { #[cfg(test)] mod tests { - use extra::hex::FromHex; + use serialize::hex::FromHex; // Test vectors from FIPS-197: // http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf @@ -223,7 +223,7 @@ mod tests { } fn cipher_test(ciphertype: super::Type, pt: ~str, ct: ~str, key: ~str, iv: ~str) { - use extra::hex::ToHex; + use serialize::hex::ToHex; let cipher = super::Crypter::new(ciphertype); cipher.init(super::Encrypt, key.from_hex().unwrap(), iv.from_hex().unwrap()); |