i have a file, which was encrypted with AES-128 in CBC mode. I know the content of original file and know the iv used to encrypt that file.So, just wondering if it's possible to recover the key used from the information provided.
I have a file, which was encrypted with AES-128 in ECB mode. I know the format of the original file and know that all files in this format have the same headers. So, I have an encrypted block and the original block.  Can I get the encryption key, using this information?
Is complex conjugation needed for valid inner product? What are the benefits of using a conjugate linear inner product in a complex vector space vs a simple linear inner product?  That is, why do we demand that $(y,x) = \overline{(x,y)}$ as opposed to $(y,x)=(x,y)$?  Of course, this ensures that $(x,x)$ is real and thus makes an easy definition of norm, but is that necessary? How do you start Windows 10 in safe mode? I've been through the Windows 10 upgrade, and am experiencing a recurring "INTERNAL_POWER_ERROR", which is stopping me from logging in.  I'd like to be able to try to boot to safe mode, but it appears that pressing F8 during boot is no longer enough, so how can I boot in safe mode (or any of the other recovery options) on a Windows 10 PC that doesn't let me log on? What is the strict aliasing rule? Why do two bodies of different masses fall at the same rate (in the absence of air resistance)? I'm far from being a physics expert and figured this would be a good place to ask a beginner question that has been confusing me for some time.  According to Galileo, two bodies of different masses, dropped from the same height, will touch the floor at the same time in the absence of air resistance.  BUT Newton's second law states that $a = F/m$, with $a$ the acceleration of a particle, $m$ its mass and $F$ the sum of forces applied to it.  I understand that acceleration represents a variation of velocity and velocity represents a variation of position. I don't comprehend why the mass, which is seemingly affecting the acceleration, does not affect the "time of impact".  Can someone explain this to me? I feel pretty dumb right now :) How to use Terminal to delete all .svn folders recursively? What command can I type into the Terminal so that I can delete all .svn folders within a folder (and from all subdirectories) but not delete anything else? How do I put text over symbols? This is difficult for me to explain, but how do I put words over a symbol? For instance, I want to add words over an equal sign. Anyone know the command/syntax for that?  Also adding ^ doesn't cut it..., I want the text to appear ON TOP. Cross referencing between chapters of a thesis Hi I am new to the forum and fairly new to Tex, if I miss anything out please let me know and I will be glad to post it. I am writing up my PhD thesis using Texmaker on a windows system. I have my document organised with a main file and a sub-directory containing chapter 1 to 5. I want to be able to use the labels I created in chapter two for example in the appendix and vice versa. Is there an easy way to do this?   I have tried following the advice of various posts of including the commands \usepackage{xr} and \externaldocument{Chapters/Chapter_2} in the individual chapters but this leads to an error when compiling.   My Preamble is as follows:  \documentclass[12pt,hidelinks,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[greek,spanish,english]{babel} \usepackage{textgreek} \usepackage[version=3]{mhchem} \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry} \usepackage{amsmath, amsfonts, pifont, float, color, url} \usepackage[pdftex]{graphicx} \usepackage[style=numeric,backend=biber,sorting=none]{biblatex} \addbibresource{references.bib} \usepackage[pdftex, plainpages=false, pdfpagelabels, bookmarks=true]{hyperref} \usepackage{fancyhdr} \usepackage[center,font={it,small}]{caption}   I then have a section such as this in the main document:  \begin{document} %%... Title page ... \chapter{Theory and Methods} \label{chap:Theory and Methods} \include{Chapters/chapter_2} %%... Other chapters .... \end{document}   In Chapter 2 I have for example a label for a diagram which I may want to reference in other chapters:  \begin{figure}[H] \centering \includegraphics[height=10cm,width=\textwidth]{RF_colour_hi_res.pdf} \caption{Random Forest} \label{fig:2.1 Random Forest} \end{figure}   How can I have this label show up in other chapters after I type \ref ?  Many thanks in advance.  If any other information is required please let me know.   This has been answered in the comments although the references do not appear in the auto complete if they are copied and pasted in they still work. Where did the world go? I was playing on my main world when my laptop ran out of power.  I found a charger and woke it up, but Minecraft had crashed.  Now, it doesn't appear in the world selection screen!  I have verified that it still exists in the Minecraft folder, and the directory contents look to be in order.  Does Minecraft save an internal flag somewhere when it crashes hard?  If so, how do I reset it? I need to prove that $K\subseteq \mathbb{R}^n$ is a compact space iff every continuous function  in $K$ is bounded.  One direction is obvious because of Weierstrass theorem. How can i prove the other direction? I tried to assume the opposite but it didn't work for me.  Thanks a lot. Finding real roots of negative numbers (for example, $\sqrt[3]{-8}$) I have a graphic on the clipboard on OS X.  What's the quickest way to get it onto disk as a png or jpg? Installing Ubuntu on one of two hard drives I have a CSV file where one line looks like this:  Duration, user, lat-start, long-start, lat-end, long-end 298, Casual,38.9101,-77.0444,38.91554,-77.03818   Each row in the CSV has two points and I need to draw a line between those two points for each row.   How can I do this using QGIS 1.8.0?   I have tried using the delimited text file plug-in, but it just draws points and has no line option from what I can see. Can I have two UK visas simultaneously? I have a visitor UK visa valid until October 2017.  I also want to apply for a Tier 4 student visa. My studies in the UK start in September 2017.  If I apply for the student visa in June, will they simply issue an overlapping student visa, or will they cancel my visitor visa and I will not be able to come to the UK until September?  I am worried because in a similar situation with Schengen visas, my existing visa was canceled. Broken "Network profile" link when Area51 is their only account I currently have a masters degree in an engineering field and I don't currently have any PhD degrees (I may study for a doctorate degree in future). It happens that when I go to conferences or scientific occasions, even in the emails I receive from people; they use a doctor prefix for my name; but I do not have a PhD degree.  What is a good etiquette to deal with such thing? Should I directly tell them that I do not have a doctorate degree? Or should I neglect such a mistake by them and don't do anything?  I think it is unethical not to correct such thing, because the person may still think that I have a PhD degree; and such wrong usage of title should be corrected some way. Once a person used doctor title for my name in an email and I just added a line in my reply to his email, stating that I have a masters degree. Slovak (and Czech) babel gives problems with cmidrule and cline I tried to use the Slovak language with the booktabs package.    Let's see a couple of cases.   slovak is included in the options to babel     \usepackage[english,slovak]{babel}   or    \usepackage[slovak,english]{babel}   or    \usepackage[slovak]{babel}`  "slovak" is NOT included in the options to babel  \usepackage[english]{babel}    Similarly two cases for \cmidrule  A. \cmidrule{2-3} is included in the table    B. \cmidrule{2-3} is NOT included in the table    If both (slovak+\cmidrule) are included (case 1A), then following error occurrs  Paragraph ended before \@@@cmidrule was complete   (and a lot of other errors)  In the other cases (1B, 2A and 2B) (NO slovak or NO \cmidrule), then pdflatex is succesful  Does anybody know why 1A is wrong?    And how to use slovak and \cmidrule together (case 1A)?  \documentclass[10pt]{book} \usepackage[english,slovak]{babel} \usepackage{booktabs}  \begin{document}  \begin{tabular}{ccc} A &amp; B &amp; C \\ %\cmidrule{2-3} A &amp; B &amp; C \\ \end{tabular}  \end{document}   I have Win7, TeXstudio 2.5.2 C++ 11 Thread initialization with member functions compiling error Conjugacy Class in a matrix group with columns of standard basis I want to find the conjugacy classes of this group: $$G=\{(a_1,a_2,a_3):a_i=\pm e_j\}\subset GL_3(\mathbb C)$$ I know that $S_3$ is one of the subgroups of this group, so I can check which elements of $S_3$ continues to be conjugate in our group, I know that in $Z(G)$ there is two elements $I,-I$. I know that I have to check the diagonal matrices on which ones are conjugate, but I don't know how to finish and find the others conjugacy class of this group, and I don't Know how to find the number of the elements of the conjugacy class. I'll be thankful for help Genetic linkage greater than 50 centimorgans Classically, the linkage between two loci can be measured in centimorgans (cM), which represents the percent chance that these two loci will recombine an odd number of times (generating a recombinant genotype).  Due to independent assortment, markers on different chromosomes are expected to recombine 50% of the time. As I understand, if one conducts a classic experiment and counts various progeny, then deduces the apparent linkage, values of 50 cM or more are interpreted as "impossible to determine whether on separate chromosomes or just recombines very often". See (), with grammar corrected:     The final point that we need to make regards the maximum distance that we can measure. Because of the way in which the calculations are performed, we can never have more (than) 50% recombinant gametes. Therefore the (maximum) distance that two genes can be apart and still measure that distance is just less (than) 50 cM. If two genes are greater than 50 cM apart, then we can not determine if they reside on the same chromosome or are on different chromosomes.   Wikipedia gives an  and also remarks that (d is physical distance):     The probability of recombination is approximately d/100 for small values of d and approaches 50% as d goes to infinity.   However, what happens if the linkage is greater than 50 cM? It seems like classical experiments aside, such a situation is possible in reality.  For instance, , and . Let's take two genes on Chr.IV:    is at about +631 kb.  is at about +1370 kb.   The physical distance between these is about 734 kb. According to the cM/kbp value, the centimorgan distance is $734\text{ kb} \cdot 0.31\text{ cM}/\text{kb} = 228 \text{ cM}$ . How to interpret this 228?  If I mate a haploid yeast which is DNF2 TOM1 with another which is dnf2 tom1 (lowercase indicating minor allele rather than deletion), then sporulate them, what is the chance of getting spores with DNF2 tom1 or dnf2 TOM1 genotypes?  I realize that the cM/kbp value is only a simplification and that in practice linkage is a more complex phenomenon. Nevertheless, it seems plausible that several crossover events can happen on Chr.IV since it is so big. This includes the possibility of 1, 3, 5 and more crossovers which would create a hybrid (assuming they all happen between these two loci), as well as the possibility of 2, 4, etc crossovers which would create a non-hybrid spore (at least as far as our chosen markers are concerned).