I have tried many ways to save and load the key, but it happens that I get errors in the deception once (padding and invalid key), error in Input/Output stream.