A second pre-image attack and a collision attack to cryptographic hash function lux