Cryptosystems involving one-factorizations of graphs