RSA Public Key format

You can’t just change the delimiters from —- BEGIN SSH2 PUBLIC KEY —- to —–BEGIN RSA PUBLIC KEY—– and expect that it will be sufficient to convert from one format to another (which is what you’ve done in your example). This article has a good explanation about both formats. What you get in an RSA … Read more

How to encrypt String in Java

This is the first page that shows up via Google and the security vulnerabilities in all the implementations make me cringe so I’m posting this to add information regarding encryption for others as it has been 7 Years from the original post. I hold a Masters Degree in Computer Engineering and spent a lot of time studying and learning … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)