Wolfram Language

Properties of Digital Signatures

Signatures ensure authenticity of the message because it is not possible to predict how altering the message will affect the signature. Since digital signatures are fully integrated into the Wolfram Language, it is easy to illustrate this property.

Generate a public-private key pair.

Create a list of sequential inputs that are "close" to each other.

Sign all inputs with the same private key. Use the deterministic signature type in GenerateDigitalSignature to avoid having other random values affect the output.

Each signature is returned as a DigitalSignature object.

The signature contains two parts, called "R" and "S", each obtainable as a ByteArray.

Even though each input differs from the next by only one bit, the value of the signature changes radically.

Related Examples

de es fr ja ko pt-br zh