Thanks for the response, going to pull down that Spatie package shortly once I have some test coverage over what I have that works currently and see if it does what I think its going to do.
This stuff has always confused me, think I am about to get my head around it though.
I believe my initial confusion is around what types of encryption there are and how they work. As part of my instructions for this, I was guided to use a PGP-Key and told to download some software called Gpg4win. Which generates a key pair. So then my thought was, well what is different to this and say a key I can generate with the PuTTY key generator, are they the same? And then my head explodes with the worry I will not be able to get this done.
And then do I encrypt with the private key, and then the public key is used to decrypt, or is it the other way around.
From my brief glance, I guess the spatie package will allow me to generate the key value pairs inside my laravel application, rather than using an external application like PuTTY? And then it can use them to encrypt and decrypt?
I think I am beginning to understand it. Sorry I am reading this back and this post sounds more like a brain dump of me trying to understand what this stuff does, rather than a proper response!