Esempio n. 1
0
 public static string ConvertHexToBase64Url(string hexString, int skipBeginningByteCount = 0)
 {
     byte[] hexBytes = ConvertHexToByteArray(hexString);
     hexBytes = hexBytes.Skip(skipBeginningByteCount).ToArray();
     return(Base64Url.EncodeBytes(hexBytes));
 }
Esempio n. 2
0
 public static string ConvertHexToBase64Url(string hexString)
 {
     byte[] hexBytes = ConvertHexToByteArray(hexString);
     return(Base64Url.EncodeBytes(hexBytes));
 }