initialize crpto constants on demand