This is a very basic ransomware created using python and cryptography library fernet.
Fernet guarantees that a message encrypted using it cannot be manipulated or read without the key. Fernet is an implementation of symmetric (also known as “secret key”) authenticated cryptography.
For more info visit https://cryptography.io/en/latest/fernet/
Running the encrypt.py file will generate a key and store it in the "thekey.key" file. This key can be used to decrypt the file once it is encrypted.
Credits to Networkchuck