For .NET to successfully validate cookies encrypted by this lib, we needed to add an additional hash of the unencrpyted data (there is already a hash of the encrypted data).
In encrypt, adds additional hash of unencrypted data (minus the initial 32 random bytes)
In decrypt, adds validation of the additional signature
For .NET to successfully validate cookies encrypted by this lib, we needed to add an additional hash of the unencrpyted data (there is already a hash of the encrypted data).