The present invention relates to the isolation and to the characterization of two proteins having a novel enzymatic activity, i.e. a porphyranase activity. These proteins are useful for hydrolyzing polysaccharides containing sulfated agaro-colloids and for producing oligo-porphyrans, notably oligo-porphyrans with a defined structure and size.