Decrypts the given data. It uses a lock to ensure thread safety.
The decrypted data.
The data to decrypt.