Acts as a membranotoxin, probably through its antibacterial and antifungal activities, contributing to the defense mechanism of the plant against predators. Forms monovalent cation-selective ion channels in membranes (By similarity). Contributes to grain texture and hardness. Found in endosperm and aleurone layer of developing kernels, but not in the embryo. Five disulfide bonds are present.