added validateKey (replaces '0000...' exponent to '1111...')