Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Base64Encode_and_Base64Decode_should_generate_correct_Base64_encoding_and_decoding() { var input = "this is a simple hash: d6991/d5506f*d(d}d1]34?\\89&f949$09@c24!d6c3"; var encoded = StringUtility.Base64Encode(input); var decoded = StringUtility.Base64Decode(encoded); Assert.AreEqual(input, decoded); }