public void InsertDashes() { string output = CharacterUtils.ToString(CharacterUtils.InsertDashes("ABCDEABCDEABCDEABCDEABCDE")); Assert.AreEqual("ABCDE-ABCDE-ABCDE-ABCDE-ABCDE", output); }
private string ConvertBytesToKey(byte[] bytes) { return (CharacterUtils.ToString( CharacterUtils.InsertDashes(_transcoder.ConvertToAlphas(CharacterUtils.UnpackBytes(bytes, 5))))); }