fix broken link and typo in cipher example