Abstract The spectrum of random functions of level density as well as radiative strength functions of dipole E1- and M1-transitions of 28Al were determined. Obtained functions can reproduce very precisely the intensity of the two-step cascade following the radiative capture of thermal neutrons for a given energy of the primary transitions. The density of the observed intermediate levels can be reproduced correctly using the mean value of these functions. In this work we proposed a new hypothesis about the dependence of radiative strength functions for gamma-transitions in heated nucleus on the energy of excited levels. The results provide a solid basis that this new hypothesis allows to get realistic estimation on the parameters of nuclear structure in any nucleus, including the light ones.