If you are a protected trademark, then it is best to encrypt it along with any passwords that you store.
This ensures that even if someone goes to your system, they cannot reach him.
You can do one of two things: one special password-protected page in which you can insert a private key for a public / private key pair with an encrypted symmetric key.
This ensures that if you do not have the correct private key, you cannot get to the symmetric key.
The private key can be stored on a usb flash drive, so you can delete it after pasting it on a special web page.
The symmetric key will be read immediately after completing this form and store it in a global variable so that any page in the application can use it.
The private key will be cleared immediately after use to limit the likelihood that it was written to the hard drive.
This system is not entirely perfect, but should be able to pass a security audit and protect your information from any successful attack by a hacker.
source share