A boundary integral representation of the displacement field is developed and solved for the crack-opening displacement by expressing the latter on the crack surface as an expansion in localized functions, whose parametrization is determined by fitting exactly-known cross sections. Numerical results are presented for scattering of antiplane (SH) waves as a function of frequency from surface-breaking and buried 2D cracks for a variety of crack inclinations and burial depths. The theory and the method apply to the 3D case. Its numerical implementation will be straightforward but tedious.