blob: c2c79ccf562d6d84a0af565745f687fab0980409 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
extern crate matasano;
#[test]
fn problem_1 () {
let hex = "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d";
let base64 = "SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t";
assert_eq!(matasano::hex_to_base64(hex), base64);
}
|