HF RL Explorer

RSA SHA1 Signature Verification in Python

RSA SHA1 Signature Verification in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that verifies RSA SHA1 signatures. Given a message, its signature, and a public key in PEM format, your script should determine whether the signature is valid.

The task

You need to create a Python script that verifies RSA SHA1 signatures. Given a message, its signature, and a public key in PEM format, your script should determine whether the signature is valid.

Part of PrimeIntellect/Terminal-Lego-15k.