create password decoder for encoder