# Cryptography & Cryptographic Codes

Cryptography is the science of creating or solving codes. Cryptography is used to create cryptographic codes for blockchain security. When there is a need to ensure that a block of data is unchanged, cryptographic codes can be used to provide that assurance. The (potentially very large) block of data is given as input to a code generator algorithm which returns a much shorter result. If anyone wants to verify that the original data has not been changed, they can input the data into the generator and verify the same code is created. Any alteration will alter the result, so instead of comparing a pair of text files containing 10 gigabytes of information, we can compare a series of 256 ones and zeros, in the specific case of the Bitcoin hash.

*How are Cryptography & Cryptographic Codes relevant to the Network State?*

*How are Cryptography & Cryptographic Codes relevant to the Network State?*

Cryptography provides a way to ensure transparency by allowing the creation of tools that citizens can use to verify the authenticity of the data they are viewing.

Last updated