Exemple #1
0
 private static List <byte[]> GetPsks(JToken token, string property)
 {
     return(token[property]?.Select(psk => Hex.Decode((string)psk)).ToList());
 }
Exemple #2
0
 private static byte[] GetBytes(JToken token, string property)
 {
     return(Hex.Decode(GetString(token, property)));
 }