Be compatible with old 'cryptmethod'