[![This is my java code which includes the sql which is executed](https://i.stack.imgur.com/dRyvl.png)](https://i.stack.imgur.com/dRyvl.png)

[![This is the sql code that originally created the table](https://i.stack.imgur.com/SqaPx.png)](https://i.stack.imgur.com/SqaPx.png)

I know at the moment, the password is just saved as it is in the database,
but I want it to be saved as an encrypted byte array (e.g. [@7aC&s ).
I have the password set as a varbinary, but when I tried to save the password as a byte[] using the getBytes() method, it retrieved the [@7aC&s as a String and not a byte[].
I want to do this so I can then use the new String(byte[]) to decrypt it back into a String.

How can I do this, or can I not do it at all?  

**EDIT:**
If you're wondering what the new MySQLConnnector(); is, here it is:
[![MySQLConnector.java](https://i.stack.imgur.com/vEH5k.png)](https://i.stack.imgur.com/vEH5k.png)