I need to find parameters $n$, $k$ and $d$ of a binary linear code from its Generator Matrix.
How can I find parameter $d$ efficiently?
I know the method that compute all the codewords and take minimum non-zero weight code will be the minimum distance. but it's an exponential time algorithm. Is there any efficient algorithm to do the same?
Finding the minimum distance $d$ of a linear code is equivalent to finding its minimum weight. According to On the inherent intractability of certain coding problems, given the check matrix, determining whether or not there exists a codeword of some fixed weight $w$ is a NP-complete problem for binary linear codes.
As Gerry commented, you can easily find the minimum distance for particular codes. For example:
If you have a Reed-Solomon code of length $n$ and dimension $k$, its minimum distance is $n-k+1$.
If you have a Hamming code, its minimum distance is $3$.