Move the encrypt-util functionality to a library
Ignore FC019, it shouldnt be complaining