public EncryptedDiskService(ConnectionString conn, Logger log)
            : base(conn, log)
        {
            // initialize AES with passoword
            var password = conn.GetValue<string>("password", null);

            // hash password to store in header to check
            _password = SimpleAES.HashSHA1(password);

            _crypto = new SimpleAES(password);
        }
        public EncryptedDiskService(ConnectionString conn, Logger log)
            : base(conn, log)
        {
            // initialize AES with passoword
            var password = conn.GetValue <string>("password", null);

            // hash password to store in header to check
            _password = SimpleAES.HashSHA1(password);

            _crypto = new SimpleAES(password);
        }