1024 is the export key bits limit according to current regulations, not 512.