That isn't SHA512. Its not even SHA. Its not even a hash. It barely even counts as encryption. Its an extremely weak obfuscation using a key of "3". Its about as secure as ROT13. This is why you ALWAYS use the built in functions. You SHOULD NOT try to make your own implementation, because at best you are wasting your time, and more likely you will screw something up. You should NEVER, EVER, EVER try to design your own encryption algorithm, because when people try to do this they end up with something which is trivially vulnerable because they don't understand the maths behind it. Use the built in API.
Mark Churchill Director, Dunn & Churchill Pty Ltd Free Download: Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
Alpha release: Entanglar: Transparant multiplayer framework for .Net games.