public RarCryptoBinaryReader(Stream stream, string password) : base(stream) { _password = password; // coderb: not sure why this was being done at this logical point //SkipQueue(); byte[] salt = ReadBytes(8); _salt = salt; _rijndael = RarRijndael.InitializeFrom(_password, salt); }
public RarCryptoWrapper(Stream actualStream, string password, byte[] salt) { _actualStream = actualStream; _salt = salt; _rijndael = RarRijndael.InitializeFrom(password, salt); }
internal void InitializeAes(byte[] salt) { this.salt = salt; rijndael = RarRijndael.InitializeFrom(password, salt); }
internal void InitializeAes(byte[] salt) { _salt = salt; _rijndael = RarRijndael.InitializeFrom(_password, salt); }