Exemple #1
0
        /// <summary>
        /// Return the encoded login data
        /// </summary>
        public static byte[] EncodeCryptoRNGData(CryptoRNGData Data)
        {
            EncodingStream ec = new EncodingStream();

            ec.WriteEntry(Data.Salt);
            ec.WriteEntry(Data.IV);
            ec.Close();
            return(ec.GetData());
        }
 public static void SetCryptoRNGData(CryptoRNGData data)
 => SessionLoginData = data;